Build yabridgectl on the bionic Docker image

The ubuntu-18.04 runner is being deprecated and these brownouts are
annoying.
This commit is contained in:
Robbert van der Helm
2023-02-21 15:11:18 +01:00
parent ee971f610e
commit 5f1f08a980
+10 -1
View File
@@ -155,7 +155,11 @@ jobs:
build-yabridgectl: build-yabridgectl:
name: Build yabridgectl name: Build yabridgectl
runs-on: ubuntu-18.04 # FIXME: The ubuntu-18.04 runner has been deprecated but since it doesn't cause any
# issues we'll keep it around for a bit longer
# runs-on: ubuntu-18.04
runs-on: ubuntu-latest
container: robbert/docker-yabridge:bionic
outputs: outputs:
artifact-name: ${{ env.ARCHIVE_NAME }} artifact-name: ${{ env.ARCHIVE_NAME }}
defaults: defaults:
@@ -172,6 +176,11 @@ jobs:
- name: Determine build archive name - name: Determine build archive name
run: | run: |
echo "ARCHIVE_NAME=yabridgectl-$(git describe --always).tar.gz" >> "$GITHUB_ENV" echo "ARCHIVE_NAME=yabridgectl-$(git describe --always).tar.gz" >> "$GITHUB_ENV"
# FIXME: Needed as long as we use the docker image
- name: Install dependencies
run: |
apt-get update
apt-get install -y curl
- name: Set up Rust toolchain - name: Set up Rust toolchain
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
- name: Build the binaries - name: Build the binaries