Skip to content

Commit

Permalink
Add NetBSD For CI Builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pegvin committed Feb 24, 2024
1 parent e31786f commit 59dd12b
Showing 1 changed file with 27 additions and 11 deletions.
38 changes: 27 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ jobs:
linux-x86_64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/checkout@v4

- name: Build
run: make all BUILD_TYPE=Release
Expand All @@ -25,9 +23,7 @@ jobs:
mac-x86_64:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/checkout@v4

- name: Build
run: make all BUILD_TYPE=Release
Expand All @@ -39,27 +35,47 @@ jobs:
path: ./build/
if-no-files-found: error

freebsd-x86_64:
netbsd-x86_64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Run NetBSD VM & Build
id: test
uses: vmactions/netbsd-vm@v1
with:
submodules: recursive
usesh: true
prepare: |
/usr/sbin/pkg_add gmake
run: |
gmake all BUILD_TYPE=Release CC=clang
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: netbsd-x86_64
path: ./build/
if-no-files-found: error

freebsd-x86_64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run FreeBSD VM & Build
id: termrec
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: |
pkg install -y gmake git
pkg install -y gmake
run: |
gmake all BUILD_TYPE=Release CC=clang
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: feeebsd-x86_64
name: freebsd-x86_64
path: ./build/
if-no-files-found: error

Expand Down

0 comments on commit 59dd12b

Please sign in to comment.