Skip to content

Commit

Permalink
Update the github actions workflow to also run on windows (#67)
Browse files Browse the repository at this point in the history
We've been using appveyor for this for a but having everything on github
actions is much nicer.
  • Loading branch information
Phantomical authored Jan 16, 2024
1 parent cbfbaa4 commit c099723
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ name: ci-linux
jobs:
build_and_test:
name: xed-rs
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.toolchain == 'nightly' }}
strategy:
matrix:
toolchain: [stable, beta]
experimental: [false]
include:
- toolchain: nightly
experimental: true
toolchain: [stable, beta, nightly]
os:
- ubuntu-latest
- windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- uses: actions-rs/cargo@v1
with:
command: test
- uses: Swatinem/rust-cache@v2

- run: cargo test
- run: cargo test --all-features

0 comments on commit c099723

Please sign in to comment.