mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 01:07:27 +00:00
Include macos-10.15 and macos-11 in CI builds
This commit is contained in:
parent
2bee2164af
commit
8a349e17af
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
@ -71,6 +71,20 @@ jobs:
|
||||
echo $GITHUB_WORKSPACE
|
||||
docker run --privileged -e CI=true -t -v $GITHUB_WORKSPACE:/github/workspace docker.pkg.github.com/fwupd/fwupd/fwupd-${{matrix.os}}:latest
|
||||
|
||||
macos:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ macos-10.15, macos-11 ]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: install dependencies
|
||||
run: brew install meson gcab libusb gobject-introspection sqlite libarchive json-glib curl gnutls protobuf-c vala
|
||||
- uses: actions/checkout@v2
|
||||
- name: configure
|
||||
run: ./contrib/ci/build_macos.sh
|
||||
- name: build
|
||||
run: ninja -C build-macos
|
||||
|
||||
fuzzing:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
|
14
contrib/ci/build_macos.sh
Executable file
14
contrib/ci/build_macos.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
set -x
|
||||
|
||||
mkdir -p build-macos && cd build-macos
|
||||
meson .. \
|
||||
-Dbuild=standalone \
|
||||
-Ddocs=none \
|
||||
-Dhsi=false \
|
||||
-Dsoup_session_compat=false \
|
||||
-Dgusb:docs=false \
|
||||
-Dlibjcat:gpg=false \
|
||||
-Dlibxmlb:gtkdoc=false \
|
||||
$@
|
@ -1,4 +1,4 @@
|
||||
[wrap-git]
|
||||
directory = libjcat
|
||||
url = https://github.com/hughsie/libjcat.git
|
||||
revision = 0.1.9
|
||||
revision = 0.1.11
|
||||
|
@ -1,4 +1,4 @@
|
||||
[wrap-git]
|
||||
directory = libxmlb
|
||||
url = https://github.com/hughsie/libxmlb.git
|
||||
revision = 0.3.6
|
||||
revision = 0.3.8
|
||||
|
Loading…
Reference in New Issue
Block a user