Skip to content

Commit

Permalink
Merge pull request #29 from xumi1993/main
Browse files Browse the repository at this point in the history
add ci
  • Loading branch information
xumi1993 committed May 15, 2024
2 parents 4d63a44 + 79cce21 commit ab0f62f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build SurfATT

on:
push:
branches: [ "devel" ]
pull_request:
branches: [ "main" ]

jobs:
build:

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

0 comments on commit ab0f62f

Please sign in to comment.