Skip to content

Commit

Permalink
Run OS-specific installer
Browse files Browse the repository at this point in the history
  • Loading branch information
j-woz committed Sep 5, 2024
1 parent 87491da commit 3d69895
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ jobs:

- name: Install deps
run: |
brew update
brew install autoconf automake java make mpich swig tcl-tk
dev/github-actions/setup-${{ matrix.os }}.sh
# run: sudo apt-get install -y zsh tcl tcl-dev default-jdk autoconf make libcurl4-openssl-dev

# - name: Set up R
Expand Down
24 changes: 24 additions & 0 deletions dev/github-actions/setup-macos-14.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/zsh

# SETUP for matrix.os == macos-14

START=$SECONDS

log()
{
printf "setup-macos-14.sh: %s\n" "$*"
}

log "Installing Homebrew packages..."

if (
set -ex
brew update
brew install autoconf automake java make mpich swig tcl-tk
) > brew.log
then
log "Installed Homebrew packages in %i seconds."
else
log "FAILED to install Homebrew packages!"
return 1
fi

0 comments on commit 3d69895

Please sign in to comment.