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

Commit

Permalink
Test on both debug and release profiles
Browse files Browse the repository at this point in the history
Requires this fix: rust-lang/rust#75417
  • Loading branch information
npmccallum committed Aug 20, 2020
1 parent 7daeb70 commit dedd8ed
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [push, pull_request]
name: test
jobs:
test:
name: ${{ matrix.config.target }}
name: ${{ matrix.config.target }} (${{ matrix.profile.name }})
runs-on: ${{ matrix.config.os }}-latest
steps:
- run: ${{ matrix.config.prep }}
Expand All @@ -16,10 +16,14 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: test
args: --release --target=${{ matrix.config.target }}
args: ${{ matrix.profile.flag }} --target=${{ matrix.config.target }}
strategy:
fail-fast: false
matrix:
profile:
- name: debug
- name: release
flag: --release
config:
- target: i586-pc-windows-msvc
os: windows
Expand Down

0 comments on commit dedd8ed

Please sign in to comment.