-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 829 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI
on:
workflow_run:
workflows: [ExtractND]
types:
- completed
jobs:
build:
name: Compile 2D and 3D sources
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
strategy:
matrix:
dimension: [2, 3]
steps:
- name: Checkout repository
uses: actions/checkout@main
with:
repository: "NaokiHori/SimpleVOFSolver"
ref: ${{ matrix.dimension }}d
submodules: "true"
- name: Install dependencies
run: |
sudo apt-get -y update && \
sudo apt-get -y install make libopenmpi-dev libfftw3-dev
- name: Modify Makefile
run: |
sed -i "s/DNDIMS=2/DNDIMS=${{ matrix.dimension }}/g" Makefile
- name: Compile
run: |
make all