CAE - "65/merge" #276
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 - CAE' | |
| run-name: 'CAE - "${{ github.ref_name }}"' | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: | |
| branches: | |
| - "**" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: '' | |
| if: github.actor != 'dependabot[bot]' | |
| timeout-minutes: 15 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-24.04 | |
| shell: bash | |
| build: scripts/unix/build.sh release | |
| binary: cmake-build-release/bin/cae | |
| build_test: scripts/unix/build.sh release --tests | |
| binary_test: cmake-build-release/bin/cae-tests | |
| deps: | | |
| ./scripts/unix/install-cmake.sh | |
| sudo apt update && sudo apt install -y cmake xorg-dev libegl1-mesa-dev | |
| - os: macos-15 | |
| shell: bash | |
| build: scripts/unix/build.sh release | |
| binary: cmake-build-release/bin/cae | |
| build_test: scripts/unix/build.sh release --tests | |
| binary_test: cmake-build-release/bin/cae-tests | |
| deps: brew upgrade cmake | |
| - os: windows-2025 | |
| shell: powershell | |
| build: | | |
| cmake -S . -G "Ninja" -B cmake-build-release -DCMAKE_BUILD_TYPE=Release | |
| cmake --build cmake-build-release --config Release | |
| binary: cmake-build-release\bin\cae.exe | |
| build_test: | | |
| cmake -S . -G "Ninja" -B cmake-build-release -DCMAKE_BUILD_TYPE=Release -DBUILD_CAE_TESTS=ON | |
| cmake --build cmake-build-release --config Release | |
| binary_test: cmake-build-release\bin\cae-tests.exe | |
| deps: choco install cmake -y | |
| runs-on: ${{ matrix.os }} | |
| defaults: | |
| run: | |
| shell: ${{ matrix.shell }} | |
| steps: | |
| - uses: actions/checkout@v6.0.1 | |
| with: | |
| ref: ${{ github.ref }} | |
| repository: '${{ github.repository }}' | |
| fetch-depth: 1 | |
| submodules: recursive | |
| - name: install dependencies | |
| run: ${{ matrix.deps }} | |
| - name: Build release | |
| run: ${{ matrix.build }} | |
| - name: Build test | |
| run: ${{ matrix.build_test }} | |
| - name: Run tests | |
| run: ./${{ matrix.binary_test }} |