[docs] Add table for size of builtin types #443
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: Freestanding AVR | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
container: | |
image: alpine:edge | |
strategy: | |
matrix: | |
cxx: [20, 23] | |
fail-fast: false | |
name: C++${{ matrix.cxx }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
apk add git --no-cache | |
apk add cmake ninja make gcc-avr avr-libc --no-cache | |
avr-g++ --version | |
- name: Configure CMake | |
run: > | |
cmake -S . | |
-B build | |
-G "Ninja Multi-Config" | |
-D CMAKE_TOOLCHAIN_FILE=cmake/toolchain/atmega328p.cmake | |
-D CMAKE_CXX_STANDARD=${{ matrix.cxx }} | |
-D TETL_BUILD_WERROR=ON | |
- name: Build tests -- Debug | |
run: cmake --build build --config Debug | |
- name: Build tests -- Release | |
run: cmake --build build --config Release |