Revert "trivial: Disable FreeBSD CI again"

This reverts commit 14dab4da6d.
This commit is contained in:
Norbert Kamiński 2021-09-16 22:02:59 +02:00 committed by Mario Limonciello
parent c0f242258b
commit b6fac03b57

View File

@ -76,3 +76,38 @@ jobs:
with:
name: artifacts
path: ./out/artifacts
build-freebsd:
runs-on: macos-latest
timeout-minutes: 20
name: build-freebsd-package
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Find tag
id: tagger
uses: jimschubert/query-tag-action@v1
- name: Build
id: test
uses: vmactions/freebsd-vm@v0.1.4
with:
usesh: true
mem: 8192
prepare: |
pkg install -y git python3 glib meson pkgconf gobject-introspection \
vala gtk-doc json-glib gpgme gnutls sqlite3 curl gcab libarchive \
libelf libgpg-error gettext-tools gtk-update-icon-cache atk pango \
binutils gcc
sync: rsync
run: ./contrib/ci/build_freebsd_package.sh
--GITHUB_SHA=${GITHUB_SHA}
--GITHUB_REPOSITORY_OWNER=${GITHUB_REPOSITORY_OWNER}
--GITHUB_REPOSITORY=${GITHUB_REPOSITORY}
--GITHUB_TAG=${{steps.tagger.outputs.tag}}
- name: Upload fwupd binary artifact
uses: actions/upload-artifact@v2
with:
name: Binary package
path: |
fwupd*.pkg