CHG: PETSc needs to be installed manually, but we can skip autotools … #13
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: C/C++ CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
ISSM_DIR: ${{ github.workspace }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event." | |
- run: echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!" | |
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: Check out repository code | |
- uses: actions/checkout@v4 | |
- name: Installing MATLAB | |
id: setup-matlab | |
uses: matlab-actions/setup-matlab@v2 | |
with: | |
release: R2023b | |
- name: Install and Compile ISSM | |
env: | |
MATLAB_PATH: ${{ steps.setup-matlab.outputs.matlabroot }} | |
run: cd .github/ci_scripts && ./ci_ISSM.sh github_linux_basic | |
- run: echo "This job's status is ${{ job.status }}." |