Skip to content

Commit

Permalink
Attempt correct brew tools
Browse files Browse the repository at this point in the history
  • Loading branch information
j-woz committed Aug 23, 2024
1 parent c6ebfa5 commit fc60ee5
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,18 @@ jobs:
uses: actions/checkout@v4

- name: Install deps
run: brew install
run: |
brew update
brew install tcl-tk java autoconf make mpich
# run: sudo apt-get install -y zsh tcl tcl-dev default-jdk autoconf make libcurl4-openssl-dev

- name: Setup MPI (${{ matrix.mpi }})
uses: mpi4py/setup-mpi@v1
with:
mpi: ${{ matrix.mpi }}

- name: Set up R
uses: r-lib/actions/setup-r@v2
# - name: Set up R
# uses: r-lib/actions/setup-r@v2

# TODO RInside
- name: Install R requirements
run: R -e "install.packages('RInside')"
# run: Rscript install/R-requirements.R
# # TODO RInside
# - name: Install R requirements
# run: R -e "install.packages('RInside')"
# # run: Rscript install/R-requirements.R

# - uses: r-lib/actions/setup-r-dependencies@v2
# with:
Expand All @@ -70,20 +67,18 @@ jobs:
- name: Upgrade pip
run: python -m pip install -U pip

- name: configure swift-t
- name: Initialize swift-t settings
run: dev/build/init-settings.sh

# TODO set swift-t install, R, python, and ??
# sed -i 's/original/new/g' file.txt
- run: sed -i 's/ENABLE_PYTHON=0/ENABLE_PYTHON=1/g' dev/build/swift-t-settings.sh
# - run: sed -i 's/ENABLE_PYTHON=0/ENABLE_PYTHON=1/g' dev/build/swift-t-settings.sh

- run: sed -i 's/ENABLE_R=0/ENABLE_R=1/g' dev/build/swift-t-settings.sh
# - run: sed -i 's/ENABLE_R=0/ENABLE_R=1/g' dev/build/swift-t-settings.sh

- name: build swift-t
run: dev/build/build-swift-t.sh

# TODO check swift-t install
- name: Check swift-t version info
run: /tmp/swift-t-install/stc/bin/swift-t -v


0 comments on commit fc60ee5

Please sign in to comment.