-
Notifications
You must be signed in to change notification settings - Fork 21
54 lines (50 loc) · 1.31 KB
/
ccpp.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
name: CI
on:
push:
paths:
- '*'
- '!/Res/*'
jobs:
build-windows-debug:
name: Windows Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Windows Build
run: |
git submodule init
git submodule update
cd Script
cmd.exe /C SetupWin.bat
powershell -ExecutionPolicy RemoteSigned -File ./BuildAssimpWin-VS15.ps1 -Wait
powershell -ExecutionPolicy RemoteSigned -File ./BuildPhysXWin-VS15.ps1 -Wait
powershell -ExecutionPolicy RemoteSigned -File ./BuildGLADWin-VS15.ps1 -Wait
powershell -ExecutionPolicy RemoteSigned -File ./BuildEngineWin-VS15.ps1 -Wait
build-linux:
name: Linux Build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Linux Build
run: |
git submodule init
git submodule update
cd Script/
bash SetupLinux.sh
bash BuildAssimpLinux.sh
bash BuildGLADLinux.sh
bash BuildEngineLinux.sh
build-mac:
name: macOS Build
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: macOS Build
run: |
git submodule init
git submodule update
cd Script/
bash SetupMac.sh
bash BuildAssimpMac-Xcode.sh
bash BuildGLADMac-Xcode.sh
bash BuildEngineMac-Xcode.sh