Skip to content

Fix actions pipeline #79

Fix actions pipeline

Fix actions pipeline #79

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
- RELEASE: latest
ARCH: i386
# 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: 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