Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Commit dedd8ed

Browse files
committed
Test on both debug and release profiles
Requires this fix: rust-lang/rust#75417
1 parent 7daeb70 commit dedd8ed

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
@@ -3,7 +3,7 @@ on: [push, pull_request]
33
name: test
44
jobs:
55
test:
6-
name: ${{ matrix.config.target }}
6+
name: ${{ matrix.config.target }} (${{ matrix.profile.name }})
77
runs-on: ${{ matrix.config.os }}-latest
88
steps:
99
- run: ${{ matrix.config.prep }}
@@ -16,10 +16,14 @@ jobs:
1616
- uses: actions-rs/cargo@v1
1717
with:
1818
command: test
19-
args: --release --target=${{ matrix.config.target }}
19+
args: ${{ matrix.profile.flag }} --target=${{ matrix.config.target }}
2020
strategy:
2121
fail-fast: false
2222
matrix:
23+
profile:
24+
- name: debug
25+
- name: release
26+
flag: --release
2327
config:
2428
- target: i586-pc-windows-msvc
2529
os: windows

0 commit comments

Comments
 (0)