Verbose windows build #25
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: CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| name: Build & Test | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-24.04, windows-2025] | |
| include: | |
| - os: ubuntu-24.04 | |
| configure: cmake -DCMAKE_BUILD_TYPE=Debug -Bbuild | |
| build: cmake --build build -j | |
| artifact_name: unboxing-debug-x86_64-linux | |
| artifacts: build/bch_test build/libtestutils.a build/libunboxing.a build/static_unboxer build/testunboxing build/unboxer | |
| - os: windows-2025 | |
| configure: cmake -Bbuild | |
| build: cmake --build build --verbose | |
| artifact_name: unboxing-debug-x86_64-win32 | |
| artifacts: build/Debug/bch_test.exe build/Debug/bch_test.pdb build/Debug/static_unboxer.exe build/Debug/static_unboxer.pdb build/Debug/testutils.lib build/Debug/testutils.pdb build/Debug/unboxer.exe build/Debug/unboxer.pdb build/Debug/unboxing.lib build/Debug/unboxing.pdb | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Install dependencies | |
| if: ${{ matrix.os == 'ubuntu-24.04' }} | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install check doxygen | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| submodules: "recursive" | |
| - name: Configure | |
| run: ${{ matrix.configure }} | |
| - name: Build | |
| run: ${{ matrix.build }} | |
| - name: Upload binaries | |
| if : ${{ matrix.os != 'windows-2025' }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.artifact_name }} | |
| path: ${{ matrix.artifacts }} | |
| - name: Test | |
| if: ${{ matrix.os != 'windows-2025' }} | |
| run: ctest -j4 --test-dir build |