Skip to content

Update build.yml #4

Update build.yml

Update build.yml #4

Workflow file for this run

name: Build SurfATT

Check failure on line 1 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: MacosBuild
on:
push:
branches: [ "devel" ]
pull_request:
branches: [ "main" ]
jobs:
LinuxBuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt install build-essential gfortran cmake libopenmpi-dev openmpi-bin libhdf5-dev
- name: make
run: |
mkdir build && cd build
cmake .. && make -j 4
MacosBuild:
runs-on: macos-latest
step:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
brew install gcc cmake open-mpi hdf5
- name: make
run: |
mkdir build && cd build
cmake .. && make -j 4