mirror of
https://github.com/lovell/sharp.git
synced 2026-02-04 05:36:18 +01:00
CI: Migrate FreeBSD from Cirrus to GitHub Actions
This commit is contained in:
18
.cirrus.yml
18
.cirrus.yml
@@ -1,18 +0,0 @@
|
||||
freebsd_instance:
|
||||
image_family: freebsd-16-0-snap
|
||||
|
||||
task:
|
||||
name: FreeBSD
|
||||
env:
|
||||
IGNORE_OSVERSION: yes
|
||||
skip_notifications: true
|
||||
prerequisites_script:
|
||||
- pkg update -f
|
||||
- pkg upgrade -y
|
||||
- pkg install -y devel/git devel/pkgconf graphics/vips www/node22 www/npm
|
||||
- pkg-config --modversion vips-cpp
|
||||
install_script:
|
||||
- npm install
|
||||
- npm run build
|
||||
test_script:
|
||||
- node --test test/unit/io.js
|
||||
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
@@ -293,6 +293,26 @@ jobs:
|
||||
path: npm/${{ matrix.platform }}
|
||||
retention-days: 1
|
||||
if-no-files-found: error
|
||||
build-freebsd:
|
||||
permissions:
|
||||
contents: read
|
||||
needs: lint
|
||||
name: "build-freebsd"
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: vmactions/freebsd-vm@v1
|
||||
continue-on-error: true
|
||||
with:
|
||||
prepare: |
|
||||
pkg update -f
|
||||
pkg upgrade -y
|
||||
pkg install -y devel/git devel/pkgconf graphics/vips www/node22 www/npm
|
||||
pkg-config --modversion vips-cpp
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
node --test test/unit/io.js
|
||||
build-emscripten:
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user