Skip to content

Commit

Permalink
Add FreeBSD CI support
Browse files Browse the repository at this point in the history
  • Loading branch information
toor1245 committed Sep 1, 2024
1 parent c5fc491 commit 05c94a0
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/amd64_freebsd_cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: amd64 FreeBSD CMake

on:
push:
pull_request:
schedule:
# min hours day(month) month day(week)
- cron: '0 0 7,22 * *'

jobs:
make:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build and run tests
uses: cross-platform-actions/action@v0.25.0
with:
operating_system: freebsd
architecture: x86-64
version: '14.1'
shell: bash
memory: 5G
cpu_count: 4
run: |
sudo pkg install -y cmake git
sudo cmake --version
sudo cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
sudo cmake --build build --target all -v
sudo cmake --build build --target test -v
sudo cmake --build build --target install -v
31 changes: 31 additions & 0 deletions .github/workflows/arm64_freebsd_cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Arm64 FreeBSD CMake

on:
push:
pull_request:
schedule:
# min hours day(month) month day(week)
- cron: '0 0 7,22 * *'

jobs:
make:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build and run tests
uses: cross-platform-actions/action@v0.25.0
with:
operating_system: freebsd
architecture: arm64
version: '14.1'
shell: bash
memory: 5G
cpu_count: 4
run: |
sudo pkg install -y cmake git
sudo cmake --version
sudo cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
sudo cmake --build build --target all -v
sudo cmake --build build --target test -v
sudo cmake --build build --target install -v

0 comments on commit 05c94a0

Please sign in to comment.