mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 04:48:16 +00:00
trivial: move freebsd CI to a nightly build
It currently has a timeout of 20 minutes but the job times out constantly. This is wasting valuable CI minutes. Move it to 30 minutes and only run it once a day.
This commit is contained in:
parent
5dee779dc9
commit
a38bab9a98
40
.github/workflows/freebsd.yml
vendored
Normal file
40
.github/workflows/freebsd.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
name: FreeBSD daily Builds
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-freebsd:
|
||||||
|
runs-on: macos-latest
|
||||||
|
timeout-minutes: 30
|
||||||
|
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.5
|
||||||
|
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 protobuf-c
|
||||||
|
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
|
||||||
|
|
34
.github/workflows/main.yml
vendored
34
.github/workflows/main.yml
vendored
@ -77,37 +77,3 @@ jobs:
|
|||||||
name: artifacts
|
name: artifacts
|
||||||
path: ./out/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.5
|
|
||||||
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 protobuf-c
|
|
||||||
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
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user