machine: inline a number of machine internals #167
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
distro: | |
- fedora | |
- debian | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- run: docker build -t libxmlb-${{ matrix.distro }} -f contrib/ci/Dockerfile-${{ matrix.distro }} . | |
- run: docker run -t -v `pwd`:/build libxmlb-${{ matrix.distro }} ./contrib/ci/build-${{ matrix.distro }}.sh | |
build-freebsd: | |
runs-on: macos-10.15 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- 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 gtk-doc lzma | |
sync: rsync | |
run: ./contrib/ci/build-debian.sh |