CI: Update Instantiate to load rocm, just like Test. #148
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci-cpu | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
jobname: [JACC-threads] | |
steps: | |
- name: Checkout Action | |
uses: actions/checkout@v4 | |
- name: Instantiate | |
run: julia --project -e 'using Pkg; Pkg.instantiate();' | |
- name: Test Threads | |
run: julia -t 4 --project -e 'using Pkg; Pkg.test()' | |
macos: | |
runs-on: macos-13 | |
strategy: | |
fail-fast: false | |
matrix: | |
jobname: [JACC-threads] | |
steps: | |
- name: Checkout Action | |
uses: actions/checkout@v4 | |
- name: Install julia | |
run: | | |
brew update | |
brew install julia | |
julia --version | |
- name: Instantiate | |
run: julia --project -e 'using Pkg; Pkg.instantiate();' | |
- name: Test Threads | |
run: julia -t 4 --project -e 'using Pkg; Pkg.test()' |