This repository was archived by the owner on Aug 21, 2025. It is now read-only.
Fix ci #2
This file contains hidden or 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 Build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Install dependencies | |
| run: sudo apt-get install -y cmake nlohmann-json-dev libcurl4-openssl-dev | |
| - name: Create build directory | |
| run: mkdir build | |
| - name: Configure CMake | |
| run: cmake -S . -B build | |
| - name: Build project | |
| run: cmake --build build | |
| - name: Run tests | |
| run: ctest --test-dir build |