Skip to content

Commit f4a6f68

Browse files
committed
github: Add make test_release to the schedule
1 parent 09ab3c2 commit f4a6f68

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/rust.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ env:
1010
CARGO_TERM_COLOR: always
1111

1212
jobs:
13-
build:
13+
build_and_test:
1414

1515
runs-on: ubuntu-latest
1616

1717
steps:
1818
- uses: actions/checkout@v2
1919
- name: Build
2020
run: cargo build --verbose
21+
2122
- name: Run tests
2223
run: make test
2324

@@ -27,3 +28,16 @@ jobs:
2728
with:
2829
name: test log
2930
path: /tmp/test_crossfire.log
31+
32+
- name: cleanup logs
33+
run: /bin/rm /tmp/test_crossfire.log
34+
35+
- name: Run tests with --release
36+
run: make test_release
37+
38+
- name: Archive test log
39+
if: ${{ failure() }}
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: test log
43+
path: /tmp/test_crossfire.log

0 commit comments

Comments
 (0)