Skip to content

Commit

Permalink
fix: ci build script filename
Browse files Browse the repository at this point in the history
  • Loading branch information
branylagaffe committed May 8, 2024
1 parent 4cb8085 commit 6dcb973
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/00-build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


name: Build Binaries
run-name: '[${{ github.event_name }}] ${{ github.ref_name }} < ${{ github.actors }}'
run-name: '[${{ github.event_name }}] ${{ github.ref_name }}'

# When is the workflow actually triggerd
on:
Expand Down Expand Up @@ -59,26 +59,37 @@ jobs:
name: Build Simulators
needs: paths-filter
if: ${{ (needs.paths-filter.outputs.flexus == 'true') || github.event_name == 'schedule' }}
env:
CC: gcc-13
CXX: g++-13


strategy:
fail-fast: false
matrix:
binaries:
- KeenKraken
- KnottyKraken
- keenkraken
- knottykraken

runs-on: ubuntu-latest
container:
image: birate/qflex-builder:2024.04

steps:
- name: Checkout QFlex
uses: actions/checkout@v4
with:
submodules: true

- uses: actions/setup-python@v5
with:
python-version: '3.11.8'

- name: Install conan
run: pip install conan

- name: Detect current environmment profile
run: conan profile detect --force

- name: Build
run: ./build.sh ${{ matrix.binaries }} ${{ env.debug }}
run: ./build ${{ matrix.binaries }} ${{ env.debug }}

# Build QEMU only
build_qemu:
Expand All @@ -105,4 +116,4 @@ jobs:
path: qemu/middleware

- name: Build
run: ./build.sh qemu ${{ env.debug }}
run: ./build qemu ${{ env.debug }}
3 changes: 1 addition & 2 deletions build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

set -xev
set -e

SIM=${1:-keenkraken}
BUILD_TYPE=${2:-release}
Expand All @@ -12,7 +12,6 @@ case $SIM in
conan build $FLEXUS_ROOT -pr $FLEXUS_ROOT/target/_profile/$BUILD_TYPE --name=$SIM -of out -b missing
conan export-pkg $FLEXUS_ROOT -pr $FLEXUS_ROOT/target/_profile/$BUILD_TYPE --name=$SIM -of out
;;

[cC][Qq]|qemu)
pushd $QEMU_ROOT

Expand Down

0 comments on commit 6dcb973

Please sign in to comment.