Skip to content

Commit

Permalink
ci: build and test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ariostas committed May 19, 2024
1 parent 161f823 commit 9128c14
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,21 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

build-and-test-windows:
name: Build and test (Windows)
runs-on: windows-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Install MSYS2
uses: msys2/setup-msys2@v2
with:
msystem: mingw64
install: diffutils m4 make mingw-w64-x86_64-gcc
- name: Build
shell: msys2 {0}
run: cargo build --verbose
- name: Run tests
shell: msys2 {0}
run: cargo test --verbose

0 comments on commit 9128c14

Please sign in to comment.