Skip to content

Commit

Permalink
test windows-gnu as well
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed May 19, 2024
1 parent dc7ffad commit c4e9128
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,37 @@ jobs:
- nightly
# Check a ~3 months old nightly as "oldest supported version"
- nightly-2023-10-01
# We want to run all of the above on Linux, macOS, windows-msvc, windows-gnu.
# The semantics of combining `include` with other things in GHA are very strange
# so this seems like the best way of doing that.
os:
- ubuntu-latest
- macos-latest
- windows-latest
- linux
- macos
- windows-gnu
- windows-msvc
include:
- os: linux
runs-on: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: macos
runs-on: macos-latest
target: aarch64-apple-darwin
- os: windows-msvc
runs-on: windows-latest
target: x86_64-pc-windows-msvc
- os: windows-gnu
runs-on: windows-latest
target: x86_64-pc-windows-gnu
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
components: rust-src
- name: Run tests
run: cargo test --locked
run: cargo test --locked --target ${{ matrix.target }}

check:
name: Checks
Expand Down

0 comments on commit c4e9128

Please sign in to comment.