Skip to content

Commit

Permalink
[CI] add flags to github_env
Browse files Browse the repository at this point in the history
  • Loading branch information
n-elie committed Aug 4, 2023
1 parent 0b242a3 commit ddb12ae
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
if: runner.os == 'macOS'
run: |
brew info libomp
export LDFLAGS="-L$(brew --prefix libomp)/lib"
export CPPFLAGS="-I$(brew --prefix libomp)/include"
echo "LDFLAGS=${LDFLAGS} -L$(brew --prefix libomp)/lib" >> "$GITHUB_ENV"
echo "CPPFLAGS=${CPPFLAGS} -I$(brew --prefix libomp)/include" >> "$GITHUB_ENV"
- name: Show python info
shell: bash -e {0}
run: |
Expand All @@ -43,10 +43,6 @@ jobs:
shell: bash -e {0}
run: |
python -m pip install . -vv
env:
LDFLAGS: -L/usr/local/opt/libomp/lib
CFLAGS: -I/usr/local/opt/libomp/include
CPPFLAGS: -I/usr/local/opt/libomp/include
- name: Install test dependencies
shell: bash -e {0}
run: |
Expand Down

0 comments on commit ddb12ae

Please sign in to comment.