Never upgrade the debs we're trying to test (#4) #26
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 Variants | |
on: | |
push: | |
branches: ["latest"] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-ros-dev-tools: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Earthly | |
run: | | |
sudo wget 'https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64' -O /usr/local/bin/earthly | |
sudo chmod 755 /usr/local/bin/earthly | |
- name: Build ros-dev-tools deb | |
run: earthly +ros-dev-tools-deb | |
- name: Build ros-dev-tools rpm | |
run: earthly +ros-dev-tools-rpm | |
build-ros-build-essential: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Earthly | |
run: | | |
sudo wget 'https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64' -O /usr/local/bin/earthly | |
sudo chmod 755 /usr/local/bin/earthly | |
- name: Build ros-build-essential deb | |
run: earthly +ros-build-essential-deb | |
- name: Build ros-build-essential rpm | |
run: earthly +ros-build-essential-rpm | |
check-rpms: | |
runs-on: ubuntu-latest | |
needs: [build-ros-build-essential, build-ros-dev-tools] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Earthly | |
run: | | |
sudo wget 'https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64' -O /usr/local/bin/earthly | |
sudo chmod 755 /usr/local/bin/earthly | |
- name: Check RPM installation | |
run: earthly +check-rpms | |
check-debs: | |
runs-on: ubuntu-latest | |
needs: [build-ros-build-essential, build-ros-dev-tools] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Earthly | |
run: | | |
sudo wget 'https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64' -O /usr/local/bin/earthly | |
sudo chmod 755 /usr/local/bin/earthly | |
- name: Check deb installation | |
run: earthly +check-debs |