Skip to content

ci: use APT caches

ci: use APT caches #4

Workflow file for this run

name: Build Qflex
run-name: '${{ github.event_name }} ${{ github.head_ref }}'
on:
workflow_dispatch:
push:
branches:
- 'release'
- 'main'
- 'feat/**'
paths-ignore:
- 'docs/**'
pull_request:
branches:
- 'release'
- 'main'
- 'feat/**'
paths-ignore:
- 'docs/**'
schedule:
# Every Monday, Wednesday and Friday at midnight
- cron: '0 0 * * 1,3,5'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_binaries:
name: Build Binaries
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
binaries:
- qemu
- KeenKraken
- KnottyKraken
steps:
- name: Checkout QFlex
uses: actions/checkout@v4
with:
submodules: true
- name: Checkout libqflex
if: ${{ matrix.binaries }} == "qemu"
uses: actions/checkout@v4
with:
repository: parsa-epfl/libqflex
ref: feat/qemu-8.2
path: qemu/middleware
- name: Download dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:

Check failure on line 60 in .github/workflows/00-build.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/00-build.yaml

Invalid workflow file

You have an error in your yaml syntax on line 60
packages: libboost-all-dev gcc meson make cmake
version: 1.0
- name: Build
run: ./build ${{ matrix.binaries }} no