Skip to content

Commit

Permalink
update testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebe-p committed Jul 18, 2024
1 parent 83640b4 commit 93014ab
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
# python-version: '3.9'

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -35,10 +35,10 @@ jobs:
sudo apt install -y python3-tk libboost-all-dev libopenblas-dev libfftw3-dev libsuitesparse-dev
# Do not need to do this if not installing S4
# - name: Install system dependencies in MacOS
# if: matrix.os == 'macos-latest'
# run: |
# brew install fftw suite-sparse openblas lapack boost
- name: Install system dependencies in MacOS
if: matrix.os == 'macos-latest'
run: |
brew install fftw suite-sparse openblas lapack boost
- name: Install python dependencies
run: |
Expand All @@ -55,14 +55,14 @@ jobs:
rm -rf S4
# Not working as of March 2024. Cannot find cholmod.h header file. Reason unclear.
# - name: Install S4 in MacOS
# if: matrix.os == 'macos-latest'
# run: |
# git clone https://github.com/phoebe-p/S4
# cd S4
# make S4_pyext --file="Makefile.mac_intel"
# cd ..
# rm -rf S4
- name: Install S4 in MacOS
if: matrix.os == 'macos-latest'
run: |
git clone https://github.com/phoebe-p/S4
cd S4
make S4_pyext --file="Makefile.m1"
cd ..
rm -rf S4
- name: Install on Linux and MacOS
if: matrix.os != 'windows-latest'
Expand Down

0 comments on commit 93014ab

Please sign in to comment.