push #13
Workflow file for this run
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 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 | |
strategy: | |
fail-fast: false | |
matrix: | |
binaries: | |
# - qemu | |
- KeenKraken | |
# - KnottyKraken | |
runs-on: ubuntu-latest | |
container: | |
image: ubuntu:devel | |
steps: | |
- run: sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list | |
- run: apt update | |
- name: Install dependancies | |
run: | | |
DEBIAN_FRONTEND=noninteractive apt install -y \ | |
gcc-13 g++-13 \ | |
libboost1.83-dev \ | |
libboost-serialization1.83-dev \ | |
libboost-iostreams1.83-dev \ | |
libboost-system1.83-dev \ | |
make cmake | |
# libboost1.81-dev \ | |
# libboost-serialization1.81-dev \ | |
# libboost-iostreams1.81-dev \ | |
# libboost-system1.81-dev \ | |
# cmake | |
# - uses: awalsh128/cache-apt-pkgs-action@latest | |
# with: | |
# packages: libboost1.83-dev libboost-serialization1.83-dev libboost-iostreams1.83-dev libboost-system1.83-dev cmake | |
# version: 1.1 | |
- name: Update compilers paths | |
run: | | |
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 60 | |
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 60 | |
- 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: Build | |
run: ./build ${{ matrix.binaries }} no |