-
Notifications
You must be signed in to change notification settings - Fork 77
55 lines (50 loc) · 1.4 KB
/
freebsd.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: FreeBSD
on:
push:
paths-ignore:
- 'README.md'
- 'doc/**'
pull_request:
paths-ignore:
- 'README.md'
- 'doc/**'
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Debug
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: do CI on FreeBSD VM on github runner
id: test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: |
pkg install -y cmake
pkg install -y openexr
pkg install -y tiff
run: |
mkdir build &&
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} &&
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: do CI on FreeBSD VM on github runner
id: test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: |
pkg install -y cmake
pkg install -y openexr
pkg install -y tiff
run: |
mkdir build &&
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} &&
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} &&
cd build &&
ctest -V --output-on-failure