Updated modules examples #3
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: cpp20-302 exercises | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: build | |
container: | |
image: feabhas/ubuntu-projects:latest | |
options: -u 1001 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
sparse-checkout: exercises | |
fetch-depth: 1 | |
- name: create workspace | |
run: | | |
cp -r /home/feabhas/projects/cmake-host . | |
sed -i '/CMAKE_CXX_STANDARD 17/s/17/23/' cmake-host/CMakeLists.txt | |
- name: build datalogger template | |
run: | | |
cp -rf exercises/templates/datalogger/* cmake-host | |
cd cmake-host | |
bash ./build.sh | |
- name: build solutions | |
run: | | |
cd cmake-host | |
bash ./build-one.sh --all | |