Update README.md #19
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: Build | |
on: | |
push: | |
jobs: | |
build-project: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v3.5.3 | |
- name: Configure the project | |
run: cmake -S . -B build | |
- name: Update GCC | |
run: | | |
sudo apt-get update | |
sudo apt-get upgrade gcc | |
- name: Debug GCC | |
run: gcc --version | |
- name: Build the project | |
run: cmake --build build | |
- name: Test the project | |
run: ctest --test-dir build |