-
Notifications
You must be signed in to change notification settings - Fork 26
37 lines (31 loc) · 812 Bytes
/
ci.yml
File metadata and controls
37 lines (31 loc) · 812 Bytes
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
36
37
name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: latest
image: opencfd/openfoam-dev:latest
- name: v2412
image: opencfd/openfoam-dev:2412
- name: v2506
image: opencfd/openfoam-dev:2506
name: OpenFOAM ${{ matrix.name }}
container:
image: ${{ matrix.image }}
steps:
- uses: actions/checkout@v4
- name: Install CI dependencies
run: |
apt-get update
apt-get install -y libboost-dev
- name: Build
shell: bash
run: |
openfoam -c 'cd "$GITHUB_WORKSPACE"; export BOOST_ARCH_PATH=/usr/include; ./Allwclean; ./Allwmake -j"$(nproc)"'