Try forcing exit code to zero to make windows CI pass #405
This file contains 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: Programs | |
on: | |
push: | |
branches: | |
- develop | |
- master | |
pull_request: | |
schedule: | |
- cron: '0 0 1 * *' | |
jobs: | |
programs: | |
name: "Programs" | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, macos-latest, windows-2019] | |
env: | |
NAME: Programs-${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Force cmake version to older than runner's | |
uses: jwlawson/[email protected] | |
with: | |
cmake-version: '3.22.2' | |
- name: Build | |
shell: bash | |
run: | | |
cd programs | |
mkdir build | |
cd build | |
cmake .. $CMAKE_CONFIGURE_OPTIONS -DCMAKE_BUILD_TYPE=Release | |
cmake --build . |