Skip to content

Commit

Permalink
add bsd ci
Browse files Browse the repository at this point in the history
  • Loading branch information
actboy168 committed Apr 28, 2024
1 parent 41f245b commit b222516
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,40 @@ jobs:
- run: luamake -notest
- run: luamake lua test/glibc-version.lua
- run: luamake -sanitize
bsd:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- os: freebsd
version: '14.0'
install: pkg install -y ninja libinotify
- os: openbsd
version: '7.5'
install: pkg_add ninja libinotify
- os: netbsd
version: '10.0'
install: pkgin -y install ninja-build libinotify
name: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
path: luamake
repository: actboy168/luamake
submodules : recursive
- uses: actions/checkout@v4
with:
path: bee.lua
repository: actboy168/bee.lua
submodules : recursive
- uses: cross-platform-actions/[email protected]
with:
operating_system: ${{ matrix.os }}
version: ${{ matrix.version }}
run: |
sudo ${{ matrix.install }}
cd luamake
./compile/build.sh notest
cd ../bee.lua
./../luamake/luamake
4 changes: 4 additions & 0 deletions test/test_skip.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ end
if platform.os == "openbsd" then
lt.skip "filewatch"
end

if platform.os == "netbsd" then
lt.skip "filewatch"
end

0 comments on commit b222516

Please sign in to comment.