-
Notifications
You must be signed in to change notification settings - Fork 9
57 lines (47 loc) · 1.26 KB
/
00-build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Build Binaries
run-name: '[${{ github.event_name }}] ${{ github.ref_name }} > ${{ github.sha }}'
# When is the workflow actually triggerd
on:
# Manually triggered
workflow_dispatch:
push:
branches:
pull_request:
branches:
#TODO: Once 'main' is replaced
# schedule:
# # Every Wednesday at midnight
# - cron: '0 0 * * 3'
#
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# Build the Krakens if their files have been modified
build_simulator:
runs-on: ubuntu-24.04
name: Build Simulators
env:
CC: gcc-13
CXX: g++-13
strategy:
fail-fast: true
matrix:
binaries:
- keenkraken
- knottykraken
build_type:
- release
- debug
steps:
- name: Checkout Flexus
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11.9'
- name: Install conan
run: pip install conan
- name: Detect current environmment profile
run: conan profile detect --force
- name: Build a Flexus based on matrix
run: conan build . -pr target/_profile/${{ matrix.build_type }} -b missing --name=${{ matrix.binaries }} -of ./build