-
Notifications
You must be signed in to change notification settings - Fork 11
61 lines (49 loc) · 1.38 KB
/
compilation.yml
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
name: Native compilation
on:
workflow_dispatch:
jobs:
compile-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: "Install Mesa"
run: |
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install mesa-common-dev:amd64 mesa-common-dev:i386
- name: "Install GCC multilib"
run: sudo apt-get install gcc-multilib g++-multilib
- name: "Compile"
run: |
chmod +x ./gradlew
./gradlew compile
- name: "Upload libraries"
uses: actions/upload-artifact@v2
with:
name: Linux
path: ./modules/native/build/lib
compile-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: "Compile"
run: |
./gradlew compile
- name: "Upload libraries"
uses: actions/upload-artifact@v2
with:
name: Windows
path: ./modules/native/lib
compile-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: "Compile"
run: |
chmod +x ./gradlew
./gradlew compile
- name: "Upload libraries"
uses: actions/upload-artifact@v2
with:
name: MacOS
path: ./modules/native/build/lib