|
25 | 25 | submodules: 'recursive' |
26 | 26 | - name: Build |
27 | 27 | shell: pwsh |
28 | | - run: | |
29 | | - .\tools\cmdline\axmol -p win32 -a x64 |
30 | | - .\tools\cmdline\axmol run -p win32 -a x64 -xb '--target,unit-tests' |
| 28 | + run: .\tools\cmdline\axmol -p win32 -a x64 && .\tools\cmdline\axmol run -p win32 -a x64 -t unit-tests |
31 | 29 | - uses: actions/upload-artifact@v4 |
32 | 30 | with: |
33 | 31 | name: windows_x64 |
|
78 | 76 |
|
79 | 77 | - name: Build |
80 | 78 | shell: pwsh |
81 | | - run: | |
82 | | - ./tools/cmdline/axmol -p linux -a x64 |
83 | | - ./tools/cmdline/axmol -p linux -a x64 -xb '--target,lua-tests' |
84 | | - ./tools/cmdline/axmol run -p linux -a x64 -xb '--target,unit-tests' -wait |
| 79 | + run: ./tools/cmdline/axmol -p linux -a x64 -t 'cpp-tests,lua-tests' && ./tools/cmdline/axmol run -p linux -a x64 -t unit-tests -wait |
85 | 80 | osx-arm64: |
86 | 81 | runs-on: macos-latest |
87 | 82 | steps: |
|
90 | 85 | submodules: 'recursive' |
91 | 86 | - name: Build |
92 | 87 | shell: pwsh |
93 | | - run: | |
94 | | - ./tools/cmdline/axmol -p osx |
95 | | - ./tools/cmdline/axmol run -p osx -xb '--target,unit-tests' |
| 88 | + run: ./tools/cmdline/axmol -p osx && ./tools/cmdline/axmol run -p osx -t unit-tests |
96 | 89 | osx-x64: |
97 | 90 | runs-on: macos-13 |
98 | 91 | steps: |
|
101 | 94 | submodules: 'recursive' |
102 | 95 | - name: Build |
103 | 96 | shell: pwsh |
104 | | - run: | |
105 | | - ./tools/cmdline/axmol -p osx |
106 | | - ./tools/cmdline/axmol run -p osx -xb '--target,unit-tests' |
| 97 | + run: ./tools/cmdline/axmol -p osx && ./tools/cmdline/axmol run -p osx -t unit-tests |
107 | 98 | android: |
108 | 99 | runs-on: ubuntu-latest |
109 | 100 | strategy: |
@@ -154,10 +145,7 @@ jobs: |
154 | 145 | submodules: 'recursive' |
155 | 146 | - name: Build |
156 | 147 | shell: pwsh |
157 | | - run: | |
158 | | - ./tools/cmdline/axmol -p wasm -xc '-DAX_ENABLE_EXT_EFFEKSEER=ON,-DAX_WASM_THREADS=8' -j2 |
159 | | - ./tools/cmdline/axmol -p wasm -xc '-DAX_ENABLE_EXT_EFFEKSEER=ON,-DAX_WASM_THREADS=8' -j2 -xb '--target,fairygui-tests' |
160 | | - ./tools/cmdline/axmol -p wasm -xc '-DAX_ENABLE_EXT_EFFEKSEER=ON,-DAX_WASM_THREADS=8' -j2 -xb '--target,lua-tests' |
| 148 | + run: ./tools/cmdline/axmol -p wasm -xc '-DAX_ENABLE_EXT_EFFEKSEER=ON,-DAX_WASM_THREADS=8' -j2 -t 'cpp-tests,fairygui-tests,lua-tests' |
161 | 149 | - uses: actions/upload-artifact@v4 |
162 | 150 | with: |
163 | 151 | name: wasm |
|
0 commit comments