Revert "Remove shared_ptr because AVR does not support atomics" #96
Workflow file for this run
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: Compile Examples | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
jobs: | |
unittests-linux-generic: | |
runs-on: ubuntu-20.04 | |
container: | |
image: ghcr.io/modm-ext/modm-build-avr:latest | |
strategy: | |
fail-fast: false | |
matrix: | |
standard: [ c++17, c++20 ] | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Check environment | |
run: | | |
env | |
which avr-g++ | |
avr-g++ --version | |
- name: Compile Examples | |
run: | | |
for example in $(find examples/ | grep Makefile); do | |
(cd $(dirname $example) && make -j4 STD=${{ matrix.standard }}) | |
done |