From 93014ababf7744fb21450828d72d678501e79759 Mon Sep 17 00:00:00 2001
From: Phoebe Pearce
Date: Thu, 18 Jul 2024 18:57:03 +1000
Subject: [PATCH] update testing workflow
---
.github/workflows/testing.yml | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml
index d46a5d1..f619e5b 100644
--- a/.github/workflows/testing.yml
+++ b/.github/workflows/testing.yml
@@ -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 }}
@@ -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: |
@@ -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'