forked from openfl/lime
-
Notifications
You must be signed in to change notification settings - Fork 3
68 lines (57 loc) · 2.12 KB
/
linux.yml
File metadata and controls
68 lines (57 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Linux CI
on:
workflow_dispatch:
workflow_call:
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
with:
submodules: true
- name: Setup Haxe
uses: krdlab/setup-haxe@master
with:
haxe-version: 4.3.7
- name: Set HAXEPATH
run: echo "HAXEPATH=$HAXE_STD_PATH/.." >> $GITHUB_ENV
- name: Install Packages
run: |
sudo apt-get update
sudo apt-get install -qq \
libegl1-mesa-dev libgl1-mesa-dev libibus-1.0-dev libdbus-1-dev libdecor-0-dev libudev-dev libgbm-dev libdrm-dev \
libpng-dev libturbojpeg-dev libvorbis-dev libopenal-dev libsdl2-dev libglu1-mesa-dev libmbedtls-dev libuv1-dev libsqlite3-dev \
libx11-dev libxext-dev libxfixes-dev libxi-dev libxinerama-dev libxkbcommon-dev libxcursor-dev libxrandr-dev libxss-dev libxt-dev libxtst-dev libxv-dev libxxf86vm-dev \
libpulse-dev libasound2-dev libpipewire-0.3-dev \
g++-multilib gcc-multilib
- name: Install Haxe dependencies
run: |
haxelib git hxcpp https://github.com/CodenameCrew/cne-hxcpp --quiet
haxelib install format --quiet
haxelib install hxp --quiet
- name: Configure Lime
run: |
haxelib dev lime ${{ github.workspace }}
haxelib run lime setup -alias -y -nocffi
haxelib run lime rebuild hxcpp
- name: Remove Previous NDLLs
run: |
rm -rf ./ndll
mkdir ./ndll
- name: Rebuild Lime (x86_64)
run: haxelib run lime rebuild linux -64 -nocolor -eval
- name: Rebuild Lime (Hashlink)
run: haxelib run lime rebuild hl -nocolor
- name: Upload Artifact (ndll/Linux64)
uses: actions/upload-artifact@v7.0.0
with:
name: Linux64-NDLL
path: ndll/Linux64
if-no-files-found: error
- name: Upload Artifact (templates/bin/hl/Linux64)
uses: actions/upload-artifact@v7
with:
name: Linux64-Hashlink
path: templates/bin/hl/Linux64
if-no-files-found: error