Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD CI support #362

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/[email protected]
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/[email protected]
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

Loading