From e50c0c2e04928e93e2c6cfde56601eef9d7c4378 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Wed, 31 Dec 2025 08:06:32 +0000 Subject: [PATCH] CI: Migrate FreeBSD from Cirrus to GitHub Actions --- .cirrus.yml | 18 ------------------ .github/workflows/ci.yml | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 18 deletions(-) delete mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml deleted file mode 100644 index 5a6fb8c5..00000000 --- a/.cirrus.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58c38b59..4fd6a6ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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