Skip to content

[ci] Only build on 20.04 #31

[ci] Only build on 20.04

[ci] Only build on 20.04 #31

Workflow file for this run

name: CI of Go1
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
schedule:
# Run on Sunday, Tuesday and Thursday nights
- cron: '0 23 * * 0,1,4'
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
build-type: [RelWithDebInfo]
compiler: [gcc]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies
uses: jrl-umi3218/github-actions/install-dependencies@master
with:
compiler: ${{ matrix.compiler }}
build-type: ${{ matrix.build-type }}
ubuntu: |
apt: libmc-rtc-dev
apt-mirrors:
mc-rtc:
cloudsmith: mc-rtc/head
macos: |
brew-taps: mc-rtc/mc-rtc
brew: mc_rtc
windows: |
vcpkg:
repo: microsoft/vcpkg
owner: mc-rtc
token: "${{ secrets.GITHUB_TOKEN }}"
cache_id: 2
registries:
- repo: mc-rtc/vcpkg-registry
packages: [ spacevecalg, rbdyn, eigen-qld, sch-core, tasks, mc-rbdyn-urdf, mc-rtc-data, eigen-quadprog, state-observation, hpp-spline, mc-rtc ]
ros: |
apt: mc-rtc-plugin
workspace:
- path: unitreerobotics/unitree_ros
- path: jrl-umi3218/mc_go1_description
install: ${{ matrix.catkin-install }}
- name: Build and test
uses: jrl-umi3218/github-actions/build-cmake-project@master
with:
compiler: ${{ matrix.compiler }}
build-type: ${{ matrix.build-type }}