-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (29 loc) · 1.04 KB
/
gcc-old-build.yml
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
name: GCC 12 Build
on:
push:
jobs:
build-project:
strategy:
matrix:
type: [ Debug, Release ]
os: [ ubuntu-latest ]
name: Build Project
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/[email protected]
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: qemu-system-arm g++-12-aarch64-linux-gnu gcc-12-aarch64-linux-gnu mtools
version: 1.0
- name: Configure Project
run: |
cmake -B ${{github.workspace}}/build \
--toolchain=cmake/GCCToolchain.cmake \
-DCMAKE_BUILD_TYPE=${{matrix.type}} \
-DGCC_PREFIX=aarch64-linux-gnu- \
-DGCC_SUFFIX=-12
- name: Build Project
run: make -j -C build VERBOSE=1
# - name: Test Project
# runs: ctest --test-dir build