regenerate all distros, Fri Jul 28 13:37:31 2023 #674
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" | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
distro: | |
- melodicPython3 | |
- noetic | |
- foxy | |
- humble | |
- rolling | |
system: | |
- x86_64-linux | |
- aarch64-linux | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v22 | |
with: | |
extra_nix_config: | | |
max-jobs = 1 | |
extra-platforms = aarch64-linux | |
- uses: docker/setup-qemu-action@v2 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: ros | |
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | |
skipPush: true | |
- name: Cache Failed Builds | |
id: cache-failed-builds | |
uses: actions/cache@v2 | |
with: | |
path: failed-builds | |
key: failed-builds-${{ matrix.distro }}-${{ matrix.system }}-${{ github.sha }} | |
#restore-keys: | | |
# failed-builds-${{ matrix.distro }}-${{ matrix.system }}- | |
- uses: ./.github/actions/nix-ros-build-action | |
with: | |
root-attribute: '${{ matrix.distro }}' | |
system: '${{ matrix.system }}' |