Skip to content

Commit

Permalink
GitHub Actions: Fix class installation (#984)
Browse files Browse the repository at this point in the history
* Update ci.yml

* Clean up
  • Loading branch information
hsinfan1996 committed Aug 19, 2022
1 parent bc7ed40 commit 17fd642
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,15 @@ jobs:

- name: install class
run: |
export LDFLAGS=-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
if [[ ${MATRIX_OS} == "macos-11" ]]; then
export LDFLAGS="-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
export LDFLAGS="$LDFLAGS -L/Users/runner/miniconda3/envs/test/lib"
. ci_scripts/install_class_osx.sh
else
. ci_scripts/install_class_linux.sh
fi
env:
MATRIX_OS: ${{ matrix.os }}
continue-on-error: true
# We need this because installing CLASS on macos actually throws
# an error, even though the code does get compiled and installed.

- name: build CCL
run: |
Expand Down

0 comments on commit 17fd642

Please sign in to comment.