diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81cdb7b..f4b42fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ env: BUILD_TYPE: Debug jobs: - linux: + linux-ubuntu-latest: timeout-minutes: 10 runs-on: ubuntu-latest @@ -30,8 +30,30 @@ jobs: run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4 - name: Test - working-directory: ${{github.workspace}}/build - run: ctest -C ${{env.BUILD_TYPE}} + run: ctest --test-dir ${{github.workspace}}/build -C ${{env.BUILD_TYPE}} + + linux-debian12: + timeout-minutes: 10 + + runs-on: ubuntu-latest + container: debian:12 + + steps: + - name: Install Dependencies + run: apt update && apt -y install git build-essential pkg-config cmake ninja-build libsodium-dev libssl-dev + + - uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DSOLANACEAE_ECOSYSTEM_BUILD_TESTING=ON + + - name: Build + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4 + + - name: Test + run: ctest --test-dir ${{github.workspace}}/build -C ${{env.BUILD_TYPE}} android: timeout-minutes: 30 @@ -107,7 +129,7 @@ jobs: path: | ${{github.workspace}}/${{github.event.repository.name}}-${{matrix.platform.vcpkg_toolkit}}.tar.gz - macos: + macos-latest: timeout-minutes: 10 runs-on: macos-latest @@ -127,10 +149,9 @@ jobs: run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 3 - name: Test - working-directory: ${{github.workspace}}/build - run: ctest -C ${{env.BUILD_TYPE}} + run: ctest --test-dir ${{github.workspace}}/build -C ${{env.BUILD_TYPE}} - windows: + windows-latest: timeout-minutes: 15 runs-on: windows-latest @@ -164,6 +185,5 @@ jobs: run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 3 - name: Test - working-directory: ${{github.workspace}}/build - run: ctest -C ${{env.BUILD_TYPE}} + run: ctest --test-dir ${{github.workspace}}/build -C ${{env.BUILD_TYPE}}