Skip to content

Commit

Permalink
Merge pull request #200 from simonrw/windows-ci
Browse files Browse the repository at this point in the history
Implement windows CI
  • Loading branch information
simonrw authored Dec 21, 2022
2 parents fdb8b07 + 9ed0fb8 commit 4ca7511
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,25 @@ jobs:
use-cross: true
command: test
args: --target armv7-unknown-linux-gnueabihf --manifest-path fitsio/Cargo.toml

windows-test:
runs-on: windows-latest
steps:
- name: Checkout sources
uses: actions/checkout@v1

- name: Set up msys2
uses: msys2/setup-msys2@v2

- name: Install dependencies
shell: msys2 {0}
run: |
pacman -S --noconfirm \
mingw64/mingw-w64-x86_64-cfitsio \
mingw64/mingw-w64-x86_64-pkg-config \
mingw64/mingw-w64-x86_64-rust
- name: Run the tests
shell: msys2 {0}
run: |
cargo test -p fitsio

0 comments on commit 4ca7511

Please sign in to comment.