diff --git a/.github/workflows/dnmtools_build_macos.yml b/.github/workflows/dnmtools_build_macos.yml index a75541cf..2adda8fc 100644 --- a/.github/workflows/dnmtools_build_macos.yml +++ b/.github/workflows/dnmtools_build_macos.yml @@ -8,7 +8,7 @@ on: branches: [ "master" ] jobs: - build-on-x86: + build-with-gcc-on-x86: runs-on: macos-13 steps: - uses: actions/checkout@v4 @@ -26,7 +26,7 @@ jobs: run: ./configure CXX="g++-14" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib" - name: make run: make -j4 - build-on-arm64: + build-with-gcc-on-arm64: runs-on: macos-15 steps: - uses: actions/checkout@v4 @@ -44,3 +44,21 @@ jobs: run: ./configure CXX="g++-14" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib" - name: make run: make -j4 + build-with-clang-on-arm64: + runs-on: macos-15 + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + - name: Update Homebrew + run: brew update + - name: Install autotools + run: brew install automake + - name: Install dependencies + run: brew install htslib gsl + - name: Generate configure script + run: ./autogen.sh + - name: configure with clang++ + run: ./configure CXX="clang++" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib" + - name: make + run: make -j4