Drop i386 and add ARM #89
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: CI | |
on: [push, pull_request] | |
jobs: | |
build-and-test: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- RELEASE: latest | |
ARCH: x86_64 | |
- RELEASE: latest | |
ARCH: armhf | |
- RELEASE: latest | |
ARCH: aarch64 | |
# special builds | |
- RELEASE: latest | |
ARCH: x86_64 | |
BUILD_TYPE: coverage | |
- RELEASE: latest | |
ARCH: x86_64 | |
BUILD_TYPE: shared-only | |
LIBAPPIMAGE_SHARED_ONLY: 1 | |
name: ${{ matrix.BUILD_TYPE }} ${{ matrix.DIST }} ${{ matrix.ARCH }} shared-only=${{ matrix.LIBAPPIMAGE_SHARED_ONLY }} | |
runs-on: ubuntu-latest | |
env: | |
ARCH: ${{ matrix.ARCH }} | |
RELEASE: ${{ matrix.RELEASE }} | |
BUILD_TYPE: ${{ matrix.DIST }} | |
LIBAPPIMAGE_SHARED_ONLY: ${{ matrix.LIBAPPIMAGE_SHARED_ONLY }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Set up QEMU integration for Docker | |
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes | |
- name: Build libappimage and run tests | |
run: bash -ex ci/build-in-docker.sh | |
env: | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
docs: | |
name: docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: sudo apt-get install -y doxygen | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Build API docs | |
run: cd docs/ && ./make.sh html |