Skip to content

Commit

Permalink
add more brew and msys2 packages
Browse files Browse the repository at this point in the history
  • Loading branch information
gbarter committed May 2, 2024
1 parent 3937226 commit 8745f70
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/CI_pyHAMS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,16 @@ jobs:
id: install_cc
uses: rlalik/setup-cpp-compiler@master
with:
compiler: clang
compiler: gcc

- name: Install mingw-w64 on Windows
if: contains( matrix.os, 'windows')
uses: msys2/setup-msys2@v2
with:
path-type: inherit
install: |
mingw-w64-x86_64-cmake
mingw-w64-x86_64-pkg-config
mingw-w64-x86_64-gcc
mingw-w64-x86_64-gcc-fortran
mingw-w64-x86_64-openblas
Expand All @@ -49,25 +51,25 @@ jobs:
run: |
echo "CC=${{ steps.install_cc.outputs.cc }}" >> $GITHUB_ENV
echo "CXX=${{ steps.install_cc.outputs.cxx }}" >> $GITHUB_ENV
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
id: cp
with:
python-version: ${{ matrix.python-version }}
update-environment: true
- name: Mac openblas
if: contains( matrix.os, 'mac')
run: |
#export PKG_CONFIG_PATH="/usr/local/opt/openblas/lib/pkgconfig:$PKG_CONFIG_PATH"
#sudo ln -s /usr/local/opt/openblas/lib/libopenblas* /usr/local/lib/
brew install openblas
brew install openblas libomp
- name: Linux openblas
if: contains( matrix.os, 'ubuntu')
run: |
sudo apt-get install libopenblas-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
id: cp
with:
python-version: ${{ matrix.python-version }}
update-environment: true

#- name: Setup tmate session
# if: contains( matrix.os, 'windows')
Expand Down

0 comments on commit 8745f70

Please sign in to comment.