typo #4
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: CMake build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build-project: | |
name: Build Project | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
- name: Install Protobuf | |
run: sudo apt-get install protobuf-compiler | |
- name: Configure and Build Project | |
uses: threeal/cmake-action@main | |
# run simple example as a test | |
- name: Build and run example | |
run: | | |
cd examples/simple | |
cmake --build . | |
./simple |