Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More BSDs.
Browse files Browse the repository at this point in the history
ncruces committed Jun 26, 2024
1 parent a84d905 commit fe33ec2
Showing 2 changed files with 20 additions and 7 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -83,6 +83,18 @@ jobs:
run: go test -v ./...

test-bsd:
strategy:
matrix:
os:
- name: freebsd
version: '14.0'
flags: '-test.v'
- name: openbsd
version: '7.5'
flags: '-test.v -test.short -test.parallel=1'
- name: netbsd
version: '10.0'
flags: '-test.v -test.short -test.parallel=1'
runs-on: ubuntu-latest
needs: test

@@ -96,15 +108,15 @@ jobs:

- name: Build
env:
GOOS: freebsd
TESTFLAGS: '-test.v'
GOOS: ${{ matrix.os.name }}
TESTFLAGS: ${{ matrix.os.flags }}
run: .github/workflows/build-test.sh

- name: Test
uses: cross-platform-actions/action@v0.24.0
with:
operating_system: freebsd
version: '14.0'
operating_system: ${{ matrix.os.name }}
version: ${{ matrix.os.version }}
shell: bash
run: . ./test.sh
sync_files: runner-to-vm
@@ -149,7 +161,7 @@ jobs:
- name: Build illumos
env:
GOOS: illumos
TESTFLAGS: '-test.v -test.short'
TESTFLAGS: '-test.v -test.short -test.parallel=1'
run: .github/workflows/build-test.sh

- name: Test illumos
@@ -162,7 +174,7 @@ jobs:
- name: Build Solaris
env:
GOOS: solaris
TESTFLAGS: '-test.v -test.short'
TESTFLAGS: '-test.v -test.short -test.parallel=1'
run: .github/workflows/build-test.sh

- name: Test Solaris
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -91,7 +91,8 @@ It also benefits greatly from [SQLite's](https://sqlite.org/testing.html) and

Every commit is [tested](.github/workflows/test.yml) on
Linux (amd64/arm64/386/riscv64/s390x), macOS (amd64/arm64),
Windows (amd64), FreeBSD (amd64), illumos (amd64), and Solaris (amd64).
Windows (amd64), FreeBSD (amd64), OpenBSD (amd64), NetBSD (amd64),
illumos (amd64), and Solaris (amd64).

The Go VFS is tested by running SQLite's
[mptest](https://github.com/sqlite/sqlite/blob/master/mptest/mptest.c).

0 comments on commit fe33ec2

Please sign in to comment.