Skip to content

Commit

Permalink
Merge branch 'dataio_cleanup' into deboost
Browse files Browse the repository at this point in the history
  • Loading branch information
arahlin committed Oct 18, 2024
2 parents a1bf2f4 + f52d6d1 commit fb4d1a1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ jobs:
sudo apt-get install libbz2-dev libboost-all-dev libflac-dev libnetcdf-dev libpython3-dev
sudo pip install numpy scipy matplotlib astropy healpy sphinx --break-system-packages
- name: Setup python on macOS
if: runner.environment == 'github-hosted' && runner.os == 'macOS'
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install macOS Dependencies
if: runner.environment == 'github-hosted' && runner.os == 'macOS'
run: |
brew install python@3.12
brew link --overwrite python@3.12
export PATH=$(brew --prefix python@3.12)/libexec/bin:$(brew --prefix python@3.12)/bin:$PATH
echo PATH=$PATH >> $GITHUB_ENV
brew install bzip2 boost boost-python3 flac netcdf
python3.12 -m pip install numpy scipy matplotlib astropy healpy sphinx --break-system-packages
Expand All @@ -57,7 +59,7 @@ jobs:
# access regardless of the host operating system
shell: bash
working-directory: ${{runner.workspace}}/${{matrix.toolset}}
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_COMPILE_WARNING_AS_ERROR=yes
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_COMPILE_WARNING_AS_ERROR=yes -DPython_EXECUTABLE=`which python3`

- name: Build
working-directory: ${{runner.workspace}}/${{matrix.toolset}}
Expand Down

0 comments on commit fb4d1a1

Please sign in to comment.