Fix copy-pasta error in actions workflow #2
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: Test workflow | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install deps | |
run: | | |
sudo apt update && sudo apt upgrade -y | |
sudo apt install -y libuuid-dev libasio-dev libpq-dev postgresql | |
python3 -m pip install cmake --break-system-packages | |
- name: Print environment | |
run: | | |
cmake --version | |
- name: Run build | |
run: | | |
mkdir build && cd build | |
cmake .. -DCMAKE_BUILD_TYPE=Release | |
make -j $(nproc) | |
#- name: Run test | |
#run: | | |
#cd build | |
#cmake --build . --target test |