From 7d1b460dfee4dc630cc9acee2fa6d9baba4e6e0a Mon Sep 17 00:00:00 2001 From: olszomal Date: Tue, 5 Nov 2024 14:49:52 +0100 Subject: [PATCH] Style updates --- .github/workflows/ci.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b7ca8d..28aaab5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -167,27 +167,27 @@ jobs: python.exe -c "import cryptography; print(f'Python3 cryptography version {cryptography.__version__}')" - name: Configure CMake (Linux/macOS) - if: runner.os != 'Windows' + if: runner.os != 'Windows' run: | source venv/bin/activate cmake \ - -G "${{ matrix.generator }}" \ - -S "${{ github.workspace }}" \ - -B "${{ github.workspace }}/build" \ + -G "${{matrix.generator}}" \ + -S "${{github.workspace}}" \ + -B "${{github.workspace}}/build" \ -DCMAKE_OSX_ARCHITECTURES=arm64 \ - -DCMAKE_BUILD_TYPE="${{ env.BUILD_TYPE }}" \ - -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/dist" + -DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}" \ + -DCMAKE_INSTALL_PREFIX="${{github.workspace}}/dist" - name: Configure CMake (Windows) if: runner.os == 'Windows' run: | .\venv\Scripts\Activate.ps1 cmake ` - -G "${{ matrix.generator }}" ` - -S "${{ github.workspace }}" ` - -B "${{ github.workspace }}/build" ` - -DCMAKE_BUILD_TYPE="${{ env.BUILD_TYPE }}" ` - -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/dist" + -G "${{matrix.generator}}" ` + -S "${{github.workspace}}" ` + -B "${{github.workspace}}/build" ` + -DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}" ` + -DCMAKE_INSTALL_PREFIX="${{github.workspace}}/dist" - name: Build run: cmake @@ -205,14 +205,14 @@ jobs: - name: Test (Linux/macOS) if: runner.os != 'Windows' working-directory: ${{github.workspace}}/build - run: | + run: | source ../venv/bin/activate ctest -C ${{env.BUILD_TYPE}} - name: Test (Windows) if: runner.os == 'Windows' working-directory: ${{github.workspace}}/build - run: | + run: | ..\venv\Scripts\Activate.ps1 ctest -C ${{env.BUILD_TYPE}}