Skip to content

Commit d198461

Browse files
committed
test
1 parent fe3b754 commit d198461

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

.github/workflows/run-tests.yml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
sudo apt install valgrind
1717
make valgrind CFLAGS=-fPIC
1818
19-
- &upload
20-
name: Upload
19+
# note: this can be made into anchor when they are supported. See https://github.com/actions/runner/issues/1182
20+
- name: Upload
2121
uses: actions/upload-artifact@v4
2222
with:
2323
name: ${{ github.job }}
@@ -32,7 +32,11 @@ jobs:
3232
- name: make run
3333
run: make run WASM=1
3434

35-
- *upload
35+
- name: Upload
36+
uses: actions/upload-artifact@v4
37+
with:
38+
name: ${{ github.job }}
39+
path: .
3640

3741
build-win:
3842
runs-on: windows-latest
@@ -42,7 +46,11 @@ jobs:
4246
- name: make run
4347
run: make run CFLAGS=-fPIC
4448

45-
- *upload
49+
- name: Upload
50+
uses: actions/upload-artifact@v4
51+
with:
52+
name: ${{ github.job }}
53+
path: .
4654

4755
build-macos-intel:
4856
runs-on: macos-13
@@ -52,7 +60,11 @@ jobs:
5260
- name: make run
5361
run: make run CFLAGS=-fPIC
5462

55-
- *upload
63+
- name: Upload
64+
uses: actions/upload-artifact@v4
65+
with:
66+
name: ${{ github.job }}
67+
path: .
5668

5769
build-macos-arm64:
5870
needs: build-macos-intel # to build multi-arch lib
@@ -69,7 +81,11 @@ jobs:
6981
# create muilti-arch lib
7082
lipo -create ./build-macos-intel/lib/k08.a ./lib/k08.a -output lib/k08_macos.a
7183
72-
- *upload
84+
- name: Upload
85+
uses: actions/upload-artifact@v4
86+
with:
87+
name: ${{ github.job }}
88+
path: .
7389

7490
collect-libs:
7591
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)