diff options
| author | ruki <[email protected]> | 2025-11-22 20:51:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-11-22 22:54:07 +0800 |
| commit | 450a73ee5c2923a6420e10101e4cb10f4de75786 (patch) | |
| tree | cbb08d3c7fda4f36fe6245021bdc585515b33129 /.github | |
| parent | 76a0bd604dd7dd39e6f9e49969bb1a14bc1ac3b2 (diff) | |
add netbsd
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/dragonflybsd.yml | 38 | ||||
| -rw-r--r-- | .github/workflows/netbsd.yml | 39 | ||||
| -rw-r--r-- | .github/workflows/openbsd.yml | 39 |
3 files changed, 116 insertions, 0 deletions
diff --git a/.github/workflows/dragonflybsd.yml b/.github/workflows/dragonflybsd.yml new file mode 100644 index 000000000..89dfe7669 --- /dev/null +++ b/.github/workflows/dragonflybsd.yml @@ -0,0 +1,38 @@ +name: DragonflyBSD + +on: + pull_request: + push: + release: + types: [published] + +jobs: + build: + + runs-on: ubuntu-latest + + concurrency: + group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-DragonflyBSD + cancel-in-progress: true + steps: + - uses: actions/checkout@v2 + with: + submodules: true + + - name: Tests + uses: vmactions/dragonflybsd-vm@v1 + with: + usesh: true + mem: 4096 + copyback: false + prepare: | + pkg install -y git curl unzip gmake llvm clang++ libc++ gsed bash perl5 + run: | + ./configure + gmake -j4 + gmake install + export XMAKE_ROOT=y + xrepo --version + xmake l os.meminfo + xmake lua -v -D tests/run.lua + diff --git a/.github/workflows/netbsd.yml b/.github/workflows/netbsd.yml new file mode 100644 index 000000000..0ee1a8077 --- /dev/null +++ b/.github/workflows/netbsd.yml @@ -0,0 +1,39 @@ +name: NetBSD + +on: + pull_request: + push: + release: + types: [published] + +jobs: + build: + + runs-on: ubuntu-latest + + concurrency: + group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-NetBSD + cancel-in-progress: true + steps: + - uses: actions/checkout@v2 + with: + submodules: true + + - name: Tests + uses: vmactions/netbsd-vm@v1 + with: + usesh: true + mem: 4096 + copyback: false + prepare: | + /usr/sbin/pkg_add curl git unzip gmake llvm libcxx gsed bash perl + ln -sf /usr/pkg/bin/gmake /usr/pkg/bin/make + run: | + ./configure + gmake -j4 + gmake install + export XMAKE_ROOT=y + xrepo --version + xmake l os.meminfo + xmake lua -v -D tests/run.lua + diff --git a/.github/workflows/openbsd.yml b/.github/workflows/openbsd.yml new file mode 100644 index 000000000..652c6610d --- /dev/null +++ b/.github/workflows/openbsd.yml @@ -0,0 +1,39 @@ +name: OpenBSD + +on: + pull_request: + push: + release: + types: [published] + +jobs: + build: + + runs-on: ubuntu-latest + + concurrency: + group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-OpenBSD + cancel-in-progress: true + steps: + - uses: actions/checkout@v2 + with: + submodules: true + + - name: Tests + uses: vmactions/openbsd-vm@v1 + with: + usesh: true + mem: 4096 + copyback: false + prepare: | + pkg_add curl git unzip gmake llvm clang++ libc++ gsed bash perl + ln -sf /usr/local/bin/gmake /usr/local/bin/make + run: | + ./configure + gmake -j4 + gmake install + export XMAKE_ROOT=y + xrepo --version + xmake l os.meminfo + xmake lua -v -D tests/run.lua + |
