|
7 | 7 | runs-on: windows-latest |
8 | 8 | steps: |
9 | 9 | - uses: actions/checkout@main |
10 | | - - name: prepare |
11 | | - run: | |
12 | | - mkdir workspace |
13 | | - cd workspace |
14 | | - git clone https://github.com/floooh/chips-test |
15 | | - cd chips-test |
16 | | - - name: win64-vstudio-debug |
| 10 | + with: |
| 11 | + repository: floooh/chips-test |
| 12 | + - uses: denoland/setup-deno@v2 |
| 13 | + - name: win-vstudio-debug |
17 | 14 | run: | |
18 | | - cd workspace/chips-test |
19 | | - python fips build win64-vstudio-debug |
20 | | - - name: win64-vstudio-release |
| 15 | + ./fibs config win-vstudio-debug |
| 16 | + ./fibs build |
| 17 | + ./fibs run chips-test |
| 18 | + - name: win-vstudio-release |
21 | 19 | run: | |
22 | | - cd workspace/chips-test |
23 | | - python fips build win64-vstudio-release |
24 | | - - name: chips-test win64-vstudio-debug |
25 | | - run: | |
26 | | - cd workspace/chips-test |
27 | | - python fips run chips-test win64-vstudio-debug |
| 20 | + ./fibs config win-vstudio-release |
| 21 | + ./fibs build |
28 | 22 | mac: |
29 | 23 | runs-on: macos-latest |
30 | 24 | steps: |
31 | 25 | - uses: actions/checkout@main |
32 | | - - name: prepare |
| 26 | + with: |
| 27 | + repository: floooh/chips-test |
| 28 | + - uses: ashutoshvarma/setup-ninja@master |
| 29 | + - uses: denoland/setup-deno@v2 |
| 30 | + - name: macos-ninja-debug |
33 | 31 | run: | |
34 | | - mkdir workspace |
35 | | - cd workspace |
36 | | - git clone https://github.com/floooh/chips-test |
37 | | - cd chips-test |
38 | | - - name: osx-make-debug |
39 | | - run: | |
40 | | - cd workspace/chips-test |
41 | | - python fips build osx-make-debug |
42 | | - - name: osx-make-release |
43 | | - run: | |
44 | | - cd workspace/chips-test |
45 | | - python fips build osx-make-release |
46 | | - - name: chips-test osx-make-debug |
47 | | - run: | |
48 | | - cd workspace/chips-test |
49 | | - python fips run chips-test osx-make-debug |
| 32 | + ./fibs config macos-ninja-debug |
| 33 | + ./fibs build |
| 34 | + ./fibs run chips-test |
| 35 | + - name: macos-ninja-release |
| 36 | + run: | |
| 37 | + ./fibs config macos-ninja-release |
| 38 | + ./fibs build |
50 | 39 | linux: |
51 | 40 | runs-on: ubuntu-latest |
52 | 41 | steps: |
53 | 42 | - uses: actions/checkout@main |
| 43 | + with: |
| 44 | + repository: floooh/chips-test |
| 45 | + - uses: ashutoshvarma/setup-ninja@master |
| 46 | + - uses: denoland/setup-deno@v2 |
54 | 47 | - name: prepare |
55 | | - run: | |
| 48 | + run: | |
56 | 49 | sudo apt-get update |
57 | 50 | sudo apt-get install libglu1-mesa-dev mesa-common-dev xorg-dev libasound-dev |
58 | | - mkdir workspace |
59 | | - cd workspace |
60 | | - git clone https://github.com/floooh/chips-test |
61 | | - cd chips-test |
62 | 51 | - name: linux-make-debug |
63 | | - run: | |
64 | | - cd workspace/chips-test |
65 | | - python fips build linux-make-debug |
| 52 | + run: | |
| 53 | + ./fibs config linux-ninja-debug |
| 54 | + ./fibs build |
| 55 | + ./fibs run chips-test |
66 | 56 | - name: linux-make-release |
67 | | - run: | |
68 | | - cd workspace/chips-test |
69 | | - python fips build linux-make-release |
70 | | - - name: chips-test linux-make-debug |
71 | | - run: | |
72 | | - cd workspace/chips-test |
73 | | - python fips run chips-test linux-make-debug |
| 57 | + run: | |
| 58 | + ./fibs config linux-ninja-release |
| 59 | + ./fibs build |
74 | 60 | emscripten: |
75 | 61 | runs-on: ubuntu-latest |
76 | 62 | steps: |
77 | 63 | - uses: actions/checkout@main |
78 | | - - name: prepare |
| 64 | + with: |
| 65 | + repository: floooh/chips-test |
| 66 | + - uses: ashutoshvarma/setup-ninja@master |
| 67 | + - uses: denoland/setup-deno@v2 |
| 68 | + - name: install emsdk |
79 | 69 | run: | |
80 | | - sudo apt-get install ninja-build |
81 | | - mkdir workspace |
82 | | - cd workspace |
83 | | - git clone https://github.com/floooh/chips-test |
84 | | - cd chips-test |
85 | | - python fips emsdk install latest |
| 70 | + ./fibs emsdk install |
86 | 71 | - name: wasm-ninja-debug |
87 | 72 | run: | |
88 | | - cd workspace/chips-test |
89 | | - python fips build wasm-ninja-debug |
| 73 | + ./fibs config emsc-ninja-debug |
| 74 | + ./fibs build |
90 | 75 | - name: wasm-ninja-release |
91 | 76 | run: | |
92 | | - cd workspace/chips-test |
93 | | - python fips build wasm-ninja-release |
| 77 | + ./fibs config emsc-ninja-release |
| 78 | + ./fibs build |
0 commit comments