Skip to content

Commit

Permalink
macOs build VIII
Browse files Browse the repository at this point in the history
  • Loading branch information
ibarrond committed Sep 18, 2023
1 parent 8b1c7a3 commit c79413c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/pytest-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ jobs:
uses: KyleMayes/install-llvm-action@v1
with:
version: ${{ matrix.llvm-version }}
- name: (MacOs only) Set Clang environment variables
if: matrix.os == 'macos-latest'
run: |
echo "CC=$(which clang)" >> $GITHUB_ENV
echo "CXX=$(which clang)" >> $GITHUB_ENV
echo "PATH=/usr/local/opt/llvm/bin:$PATH" >> $GITHUB_ENV
echo "LDFLAGS=$LDFLAGS -L/usr/local/opt/llvm/lib" >> $GITHUB_ENV
echo "CPPFLAGS=$CPPFLAGS -I/usr/local/opt/llvm/include" >> $GITHUB_ENV
# echo "gcc=/usr/local/bin/$(ls /usr/local/bin | grep ^gcc-[0-9] | sort -V -r | head -n 1)" >> $GITHUB_ENV
# echo "gxx=/usr/local/bin/$(ls /usr/local/bin | grep ^g++-[0-9] | sort -V -r | head -n 1)" >> $GITHUB_ENV
# echo "gcc = $env.gcc"
# echo "gxx = $env.gxx"
# - name: (MacOs only) Set Clang environment variables
# if: matrix.os == 'macos-latest'
# run: |
# # echo "PATH=/usr/local/opt/llvm/bin:$PATH" >> $GITHUB_ENV
# # echo "CC=$(which clang)" >> $GITHUB_ENV
# # echo "CXX=$(which clang)" >> $GITHUB_ENV
# # echo "LDFLAGS=$LDFLAGS -L/usr/local/opt/llvm/lib" >> $GITHUB_ENV
# # echo "CPPFLAGS=$CPPFLAGS -I/usr/local/opt/llvm/include" >> $GITHUB_ENV
# # echo "gcc=/usr/local/bin/$(ls /usr/local/bin | grep ^gcc-[0-9] | sort -V -r | head -n 1)" >> $GITHUB_ENV
# # echo "gxx=/usr/local/bin/$(ls /usr/local/bin | grep ^g++-[0-9] | sort -V -r | head -n 1)" >> $GITHUB_ENV
# # echo "gcc = $env.gcc"
# # echo "gxx = $env.gxx"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
Expand Down

0 comments on commit c79413c

Please sign in to comment.