Skip to content

Commit

Permalink
Use stable-gnu for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bacv committed Sep 11, 2023
1 parent d2167ae commit 428dc06
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ jobs:
with:
toolchain: stable-gnu
override: true
target: x86_64-pc-windows-gnu
- name: Comment out simulations in Cargo.toml (Windows)
if: matrix.os == 'windows-latest'
run: |
$content = Get-Content Cargo.toml
$content | ForEach-Object { $_ -replace '^simulations', '#simulations' } | Set-Content Cargo.toml
shell: powershell
# Setup Rust toolchain for other OSes
- name: Setup Rust toolchain (Other OSes)
if: matrix.os != 'windows-latest'
Expand All @@ -64,6 +71,12 @@ jobs:
with:
command: build
args: --all --no-default-features --features ${{ matrix.feature }}
- uses: actions-rs/toolchain@v1
if: matrix.os == 'windows-latest'
with:
toolchain: stable-gnu
override: true
target: x86_64-pc-windows-gnu
- uses: actions-rs/cargo@v1
with:
command: test
Expand Down

0 comments on commit 428dc06

Please sign in to comment.