improved ca path finding #9
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 ntuget | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libcurl4-openssl-dev | |
- name: Setup cmake | |
uses: jwlawson/actions-setup-cmake@v2 | |
with: | |
cmake-version: "3.22.x" | |
- name: Configure the project | |
run: cmake -S . -B ${{github.workspace}}/build | |
- name: Build the project | |
run: cmake --build build | |
- name: Verify build | |
run: | | |
if [ ! -f build/ntuget ]; then | |
echo "Build failed: Executable not found" | |
exit 1 | |
fi |