merge queue: queuing master (68ddea7) and #152 together #487
Workflow file for this run
This file contains hidden or 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: CI of RBDyn | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-22.04, ubuntu-24.04, macos-latest, windows-latest] | |
| build-type: [Debug, RelWithDebInfo] | |
| compiler: [gcc, clang] | |
| exclude: | |
| # Only default compiler on macos-latest and windows-latest | |
| - os: macos-latest | |
| compiler: clang | |
| - os: windows-latest | |
| compiler: clang | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| 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: cython cython3 python-numpy python3-numpy python-pytest python3-pytest python-coverage python3-coverage python-setuptools python3-setuptools libeigen3-dev doxygen doxygen-latex libboost-all-dev libtinyxml2-dev libyaml-cpp-dev | |
| macos: | | |
| brew: eigen boost tinyxml2 yaml-cpp gcc | |
| pip: Cython coverage numpy pytest | |
| windows: | | |
| pip: Cython coverage numpy pytest | |
| github: | |
| - path: eigen-mirror/eigen | |
| ref: 3.4.1 | |
| - path: leethomason/tinyxml2 | |
| ref: 11.0.0 | |
| - path: jbeder/yaml-cpp | |
| ref: yaml-cpp-0.9.0 | |
| macos-options: -DPYTHON_BINDING:BOOL=OFF | |
| windows-options: -DPYTHON_BINDING:BOOL=OFF | |
| github: | | |
| - path: jrl-umi3218/Eigen3ToPython | |
| - path: jrl-umi3218/SpaceVecAlg | |
| - name: Build and test | |
| uses: jrl-umi3218/github-actions/build-cmake-project@master | |
| with: | |
| compiler: ${{ matrix.compiler }} | |
| build-type: ${{ matrix.build-type }} | |
| macos-options: -DPYTHON_BINDING:BOOL=OFF | |
| windows-options: -DPYTHON_BINDING:BOOL=OFF | |
| - name: Upload documentation | |
| # Only run on master branch and for one configuration | |
| if: matrix.os == 'ubuntu-24.04' && matrix.build-type == 'RelWithDebInfo' && matrix.compiler == 'gcc' && github.ref == 'refs/heads/master' | |
| uses: jrl-umi3218/github-actions/upload-documentation@master | |
| with: | |
| GH_USER: gergondet | |
| GH_PAGES_TOKEN: ${{ secrets.GH_PAGES_TOKEN }} | |
| - name: Slack Notification | |
| if: failure() | |
| uses: archive/github-actions-slack@master | |
| with: | |
| slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_TOKEN }} | |
| slack-channel: '#ci' | |
| slack-text: > | |
| [RBDyn] Build *${{ matrix.os }}/${{ matrix.build-type }}* failed on ${{ github.ref }} | |
| check: | |
| if: always() | |
| name: check-build-ubuntu | |
| runs-on: ubuntu-latest | |
| needs: | |
| - build | |
| steps: | |
| - uses: re-actors/alls-green@release/v1 | |
| with: | |
| jobs: ${{ toJSON(needs) }} |