-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new CI job specifically for OpenBSD
- Loading branch information
1 parent
5e446e6
commit 17e9057
Showing
1 changed file
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,6 @@ jobs: | |
- name: freebsd | ||
architecture: x86-64 | ||
version: '13.2' | ||
- name: openbsd | ||
architecture: x86-64 | ||
version: '7.3' | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -54,3 +51,43 @@ jobs: | |
./autogen.sh | ||
./configure CC=clang | ||
gmake all | ||
test_openbsd: | ||
name: Test OpenBSD | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
os: | ||
- name: openbsd | ||
architecture: x86-64 | ||
version: '7.3' | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Fix Checkout | ||
run: | | ||
git fetch --force --tags | ||
- name: Test on ${{ matrix.os.name }} | ||
uses: cross-platform-actions/[email protected] | ||
with: | ||
operating_system: ${{ matrix.os.name }} | ||
architecture: ${{ matrix.os.architecture }} | ||
version: ${{ matrix.os.version }} | ||
shell: bash | ||
memory: 5G | ||
cpu_count: 4 | ||
run: | | ||
sudo pkg_add \ | ||
autoconf-2.71 \ | ||
automake-1.16.5 \ | ||
git \ | ||
gmake \ | ||
python3 \ | ||
jq \ | ||
bash | ||
AUTOCONF_VERSION=2.71 AUTOMAKE_VERSION=1.16./autogen.sh | ||
./configure CC=clang | ||
gmake all |