Skip to content

Commit

Permalink
Add CI for Windows (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
relf authored Jun 6, 2022
1 parent 6c010f1 commit ac9ba2b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/checking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ name: Check For Build Errors

jobs:
check:
name: check
runs-on: ubuntu-latest
name: check-${{ matrix.toolchain }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
toolchain:
toolchain:
- 1.54.0
- stable
experimental: [false]
include:
- toolchain: nightly
experimental: true
continue-on-error: ${{ matrix.experimental }}
- nightly
os:
- ubuntu-latest
- windows-latest
continue-on-error: ${{ matrix.toolchain == 'nightly' }}

steps:
- name: Checkout sources
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@ name: Run Tests

jobs:
testing:
name: testing
runs-on: ubuntu-18.04
name: testing-${{ matrix.toolchain }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
if: github.event.pull_request.draft == false
strategy:
fail-fast: false
matrix:
toolchain:
- 1.54.0
- stable
os:
- ubuntu-18.04
- windows-2019

steps:
- name: Checkout sources
Expand All @@ -25,6 +28,9 @@ jobs:
toolchain: ${{ matrix.toolchain }}
override: true

- name: Log active toolchain
run: rustup show

- name: Run cargo test
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit ac9ba2b

Please sign in to comment.