Skip to content

nightly

nightly #756

Workflow file for this run

name: nightly
on:
schedule:
- cron: '0 1 * * *'
env:
BUILD_TYPE: RelWithDebInfo
jobs:
nightly:
name: nightly
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, self-hosted-ubuntu-22.04-arm64, self-hosted-rhel-8, windows-2019, windows-2022, macos-13, macos-14]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup Dependencies
run: sudo apt-get install libelf-dev ninja-build
if: contains(matrix.os, 'self-hosted') == false && contains(matrix.os, 'ubuntu') == true
- name: Configure
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DMWR_BUILD_TESTS=ON
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j $(nproc)
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure