Skip to content

Commit 05c94a0

Browse files
committed
Add FreeBSD CI support
1 parent c5fc491 commit 05c94a0

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: amd64 FreeBSD CMake
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
# min hours day(month) month day(week)
8+
- cron: '0 0 7,22 * *'
9+
10+
jobs:
11+
make:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Build and run tests
16+
uses: cross-platform-actions/[email protected]
17+
with:
18+
operating_system: freebsd
19+
architecture: x86-64
20+
version: '14.1'
21+
shell: bash
22+
memory: 5G
23+
cpu_count: 4
24+
run: |
25+
sudo pkg install -y cmake git
26+
sudo cmake --version
27+
sudo cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
28+
sudo cmake --build build --target all -v
29+
sudo cmake --build build --target test -v
30+
sudo cmake --build build --target install -v
31+
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Arm64 FreeBSD CMake
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
# min hours day(month) month day(week)
8+
- cron: '0 0 7,22 * *'
9+
10+
jobs:
11+
make:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Build and run tests
16+
uses: cross-platform-actions/[email protected]
17+
with:
18+
operating_system: freebsd
19+
architecture: arm64
20+
version: '14.1'
21+
shell: bash
22+
memory: 5G
23+
cpu_count: 4
24+
run: |
25+
sudo pkg install -y cmake git
26+
sudo cmake --version
27+
sudo cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
28+
sudo cmake --build build --target all -v
29+
sudo cmake --build build --target test -v
30+
sudo cmake --build build --target install -v
31+

0 commit comments

Comments
 (0)