Skip to content

CI Ubuntu Focal

CI Ubuntu Focal #384

Workflow file for this run

name: CI Ubuntu Focal
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
schedule:
# Run on Sunday, Tuesday and Thursday nights
- cron: '0 22 * * 0,1,4'
jobs:
run:
strategy:
fail-fast: false
matrix:
use-mc-rtc-apt-mirror: [ON, OFF]
use-mc-rtc-apt-mirror-stable: [ON, OFF]
exclude:
- use-mc-rtc-apt-mirror: OFF
use-mc-rtc-apt-mirror-stable: ON
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Bootstrap
shell: bash
run: |
./utils/bootstrap-linux.sh
- name: Install system dependencies
shell: bash
run: |
mkdir -p ${TMPDIR-/tmp}/build-mc-rtc
cmake -S ${GITHUB_WORKSPACE} -B ${TMPDIR-/tmp}/build-mc-rtc -DCMAKE_BUILD_TYPE=RelWithDebInfo -DVERBOSE_TEST_OUTPUT=ON -DUSE_MC_RTC_APT_MIRROR=${{ matrix.use-mc-rtc-apt-mirror }} -DUSE_MC_RTC_APT_MIRROR_STABLE=${{ matrix.use-mc-rtc-apt-mirror-stable }}
- name: Install mc_rtc and related projects
shell: bash
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
cmake --build ${TMPDIR-/tmp}/build-mc-rtc --config RelWithDebInfo