Skip to content

Commit

Permalink
Try using if guard
Browse files Browse the repository at this point in the history
  • Loading branch information
j-woz committed Sep 6, 2024
1 parent 805eb97 commit a7b4dd7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ jobs:
os:
- ubuntu-latest
- macos-14
- macos-14-arm64

# Comma separated list of python versions to test
python-version: ["3.9", "3.11"]
python-version: ["3.11"] # "3.9",

mpi:
- mpich
Expand Down Expand Up @@ -65,10 +66,13 @@ jobs:
# run: python -m pip install -U pip

- name: Initialize swift-t settings
if: matrix.os == 'ubuntu-latest'
run: |
dev/build/init-settings.sh
# Add GNU tools to PATH [HERE]
sed -i 's/ENABLE_PYTHON=0/ENABLE_PYTHON=1/g' dev/build/swift-t-settings.sh
echo 'PATH=/opt/homebrew/opt/make/libexec/gnubin:$PATH' >> dev/build/swift-t-settings.sh
# Only effective on MacOS/Homebrew systems:
# echo 'PATH=/opt/homebrew/opt/make/libexec/gnubin:$PATH' >> dev/build/swift-t-settings.sh
# TODO set swift-t install, R, python, and ??
# sed -i 's/original/new/g' file.txt
Expand Down

0 comments on commit a7b4dd7

Please sign in to comment.