Skip to content

Commit

Permalink
Add back osx-64 tests (under macos-13)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfiligoi committed Jan 13, 2025
1 parent fb6cd04 commit a05329f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ jobs:
build-and-test:
strategy:
matrix:
os: [ubuntu-latest, macos-14, linux-gpu-cuda]
os: [ubuntu-latest, macos-13, macos-14, linux-gpu-cuda]
offload: [acc, ompgpu]
exclude:
- os: ubuntu-latest
offload: acc
- os: macos-14
offload: acc
- os: macos-13
offload: acc
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -35,7 +37,12 @@ jobs:
then
conda create -q --yes --strict-channel-priority -n unifrac -c conda-forge -c bioconda gxx_linux-64 gfortran_linux-64 hdf5 lz4 zlib hdf5-static libcblas liblapacke blas-devel make curl
else
if [[ "x`conda info |awk '/platform/{print $3}'`" == "xosx-64" ]];
then
conda create -q --yes --strict-channel-priority -n unifrac -c conda-forge -c bioconda clangxx_osx-64 hdf5 lz4 hdf5-static libcblas liblapacke blas-devel make curl
else
conda create -q --yes --strict-channel-priority -n unifrac -c conda-forge -c bioconda clangxx_osx-arm64 hdf5 lz4 hdf5-static libcblas liblapacke blas-devel make curl
fi
fi
conda clean --yes -t
df -h .
Expand Down

0 comments on commit a05329f

Please sign in to comment.