Updated Slides (#66) #215
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: 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 |