-
Notifications
You must be signed in to change notification settings - Fork 78
95 lines (91 loc) · 2.84 KB
/
main.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
name: build_and_test
on: [push, pull_request]
jobs:
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: prepare
run: |
mkdir workspace
cd workspace
git clone https://github.com/floooh/chips-test
cd chips-test
- name: win64-vstudio-debug
run: |
cd workspace/chips-test
python fips build win64-vstudio-debug
- name: win64-vstudio-release
run: |
cd workspace/chips-test
python fips build win64-vstudio-release
- name: chips-test win64-vstudio-debug
run: |
cd workspace/chips-test
python fips run chips-test win64-vstudio-debug
mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: prepare
run: |
mkdir workspace
cd workspace
git clone https://github.com/floooh/chips-test
cd chips-test
- name: osx-make-debug
run: |
cd workspace/chips-test
python fips build osx-make-debug
- name: osx-make-release
run: |
cd workspace/chips-test
python fips build osx-make-release
- name: chips-test osx-make-debug
run: |
cd workspace/chips-test
python fips run chips-test osx-make-debug
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: prepare
run: |
sudo apt-get update
sudo apt-get install libglu1-mesa-dev mesa-common-dev xorg-dev libasound-dev
mkdir workspace
cd workspace
git clone https://github.com/floooh/chips-test
cd chips-test
- name: linux-make-debug
run: |
cd workspace/chips-test
python fips build linux-make-debug
- name: linux-make-release
run: |
cd workspace/chips-test
python fips build linux-make-release
- name: chips-test linux-make-debug
run: |
cd workspace/chips-test
python fips run chips-test linux-make-debug
emscripten:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: prepare
run: |
sudo apt-get install ninja-build
mkdir workspace
cd workspace
git clone https://github.com/floooh/chips-test
cd chips-test
python fips emsdk install latest
- name: wasm-ninja-debug
run: |
cd workspace/chips-test
python fips build wasm-ninja-debug
- name: wasm-ninja-release
run: |
cd workspace/chips-test
python fips build wasm-ninja-release