CHG: getting PETSc from apt-get #12
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: | |
- uses: actions/checkout@v4 | |
- name: Setup MATLAB | |
id: setup-matlab | |
uses: matlab-actions/setup-matlab@v2 | |
with: | |
release: R2023b | |
- name: Install PETSc | |
run: sudo apt-get install -y petsc-dev | |
- name: compile ISSM on linux basic | |
env: | |
MATLAB_PATH: ${{ steps.setup-matlab.outputs.matlabroot }} | |
run: cd .github/ci_scripts && ./ci_ISSM.sh github_linux_basic |