Skip to content

Commit

Permalink
Experiment with the Windows CLANG64/UCRT environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbonfield committed Jul 4, 2024
1 parent d36f60f commit d78a0f3
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Windows/MinGW-W64 CI
on: [push, pull_request]

jobs:
build:
build-mingw64:
runs-on: windows-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -38,3 +38,39 @@ jobs:
export MSYSTEM=MINGW64
make test-shlib-exports && make check
build-clang:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Set up MSYS2 MinGW-W64
uses: msys2/setup-msys2@v2
with:
msystem: clang
update: false
install: >-
git
zlib-devel
libbz2-devel
liblzma-devel
mingw-w64-clang-x86_64-toolchain
mingw-w64-clang-x86_64-autotools
mingw-w64-clang-x86_64-tools-git
mingw-w64-clang-x86_64-libdeflate
- name: Compile htslib
shell: msys2 {0}
run: |
export PATH=/clang64/bin:$PATH
export MSYSTEM=CLANG64
autoreconf -i
./configure CC="clang -fsanitize=address,undefined"
make -j6
- name: Check Htslib
shell: msys2 {0}
run: |
export PATH=/clang64/bin:$PATH
export MSYSTEM=CLANG64
make test-shlib-exports && make check

0 comments on commit d78a0f3

Please sign in to comment.