Skip to content

Commit

Permalink
Add Windows CI via github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbonfield committed Jun 24, 2024
1 parent b204d55 commit bde63a2
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Windows/MinGW-W64 CI
on: [push, pull_request]

jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up MSYS2 MinGW-W64
uses: msys2/setup-msys2@v2
with:
msystem: mingw64
update: false
install: >-
git
autotools
gcc
zlib-devel
libbz2-devel
liblzma-devel
ncurses-devel
mingw-w64-x86_64-tools-git
- name: Compile htslib
shell: msys2 {0}
run: |
export PATH=$PATH:/mingw64/bin
export MSYSTEM=MINGW64
autoreconf -i
./configure
make -j32
- name: Check Htslib
shell: msys2 {0}
run: |
export PATH=$PATH:/mingw64/bin
export MSYSTEM=MINGW64
make check

0 comments on commit bde63a2

Please sign in to comment.