fix double unlock #110
Workflow file for this run
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: Build And Test | |
| on: push | |
| env: | |
| VCPKG_BINARY_SOURCES: "clear;x-aws,s3://vcpkg-build-cache-us-east-1,readwrite" | |
| AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| jobs: | |
| build-and-test-cpp: | |
| runs-on: ${{matrix.os}} | |
| strategy: | |
| matrix: | |
| os: [ macos-15, ubuntu-24.04 ] | |
| include: | |
| - os: ubuntu-24.04 | |
| - os: macos-15 | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - name: Build and unittest | |
| run: cmake --workflow --preset test | |
| working-directory: sdk | |
| - uses: oven-sh/setup-bun@v2 | |
| - name: Install integration test server | |
| run: bun install | |
| working-directory: integration_test_server | |
| - name: Start integration test server | |
| run: bun dev & | |
| working-directory: integration_test_server | |
| - name: Integration test run | |
| run: ./build/test/nabto_integration_test | |
| working-directory: sdk |