Skip to content

Commit 3135e7e

Browse files
authored
[CI] Build respective other variant after bootstrap (AssemblyScript#2523)
1 parent bf3bf34 commit 3135e7e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,14 @@ jobs:
5858
run: npm ci --no-audit
5959
- name: Build
6060
run: npm run build
61-
- name: Bootstrap
61+
- name: "Bootstrap ${{ matrix.target }}"
6262
run: npm run bootstrap:${{ matrix.target }}
63-
- name: Test
63+
- name: "Test ${{ matrix.target }}"
6464
run: npm run test:compiler -- --wasm build/assemblyscript.${{ matrix.target }}-bootstrap.js
65+
- name: "Compile ${{ matrix.target }} -> ${{ matrix.target == 'debug' && 'release' || 'debug' }}"
66+
run: node bin/asc --config src/asconfig.json --target ${{ matrix.target == 'debug' && 'release' || 'debug' }}-bootstrap --wasm ./build/assemblyscript.${{ matrix.target }}-bootstrap.js
67+
- name: "Test ${{ matrix.target == 'debug' && 'release' || 'debug' }}"
68+
run: npm run test:compiler -- --wasm build/assemblyscript.${{ matrix.target == 'debug' && 'release' || 'debug' }}-bootstrap.js
6569
features:
6670
name: "Features"
6771
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)