[pull] master from choreonoid:master #62
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: build test | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
jobs: | |
build: | |
name: build | |
timeout-minutes: 120 | |
strategy: | |
fail-fast: false | |
matrix: | |
ubuntu : [ubuntu-20.04, ubuntu-22.04] | |
runs-on: ${{ matrix.ubuntu }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Update and upgrade | |
run: sudo apt-get update && sudo apt-get -y upgrade | |
- name: Install dependencies of choreonoid (only necessary for Ubuntu on Github actions) | |
run: sh .github/script/install-requisites-${{ matrix.ubuntu }}-for-github-actions.sh | |
- name: Install dependencies of choreonoid | |
run: sh misc/script/install-requisites-${{ matrix.ubuntu }}.sh | |
- name: Build choreonoid | |
run: cmake . && make -j4 |