summaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r--.github/workflows/main.yml19
1 files changed, 18 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 391c717..d77c8b2 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
branches: [ master ]
jobs:
- build_and_test:
+ build-linux:
runs-on: ubuntu-latest
strategy:
@@ -21,3 +21,20 @@ jobs:
- uses: actions/checkout@v2
- run: docker build -t libgusb-${{ matrix.distro }} -f contrib/ci/Dockerfile-${{ matrix.distro }} .
- run: docker run -t -v `pwd`:/build libgusb-${{ matrix.distro }} ./contrib/ci/build_and_test.sh -Dtests=false
+
+ build-freebsd:
+ runs-on: macos-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - 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 usbids
+ sync: rsync
+ run: ./contrib/ci/build_and_test.sh -Dvapi=false -Ddocs=false -Dusb_ids=/usr/local/share/usbids/usb.ids