Documentation for systemd
, systemctl
, and formatter.service
#33
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: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "install boost" | |
run: sudo apt-get -y install libboost-all-dev | |
- name: "install nlohmann-json" | |
run: sudo apt-get -y install nlohmann-json3-dev | |
- name: "set boost path" | |
run: export BOOST_ROOT=/usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/ | |
- name: "debug print" | |
run: ls -l /usr/local/include | |
- name: "run CMake" | |
run: cmake -S . build -DCMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/ | |
- name: "build project" | |
run: cmake --build build --target formatter foxsimile |