Skip to content

Fix build

Fix build #103

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build-and-test:
strategy:
fail-fast: false
matrix:
include:
- RELEASE: latest
ARCH: x86_64
RUNS_ON: ubuntu-24.04
- RELEASE: latest
ARCH: armhf
RUNS_ON: ubuntu-24.04-arm
- RELEASE: latest
ARCH: aarch64
RUNS_ON: ubuntu-24.04-arm
# special builds
- RELEASE: latest
ARCH: x86_64
BUILD_TYPE: coverage
RUNS_ON: ubuntu-24.04
- RELEASE: latest
ARCH: x86_64
BUILD_TYPE: shared-only
LIBAPPIMAGE_SHARED_ONLY: 1
RUNS_ON: ubuntu-24.04
name: ${{ matrix.BUILD_TYPE }} ${{ matrix.DIST }} ${{ matrix.ARCH }} shared-only=${{ matrix.LIBAPPIMAGE_SHARED_ONLY }}
runs-on: ${{ matrix.RUNS_ON }}
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: 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