Skip to content

Commit

Permalink
Run builds on buildjet
Browse files Browse the repository at this point in the history
  • Loading branch information
mwylde committed Sep 3, 2024
1 parent 704e3fa commit c386fe1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
branches:
- '*_build'

env:
REFINERY_CONFIG: postgres://arroyo:arroyo@localhost:5432/arroyo
Expand All @@ -17,8 +19,8 @@ jobs:
matrix:
# see https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
config:
- { runner: ubuntu-22.04, protoc: linux-x86_64, artifact: linux-x86_64 }
# TODO: add linux arm runner, maybe ubicloud e.g. - { runner: ubicloud-standard-8-arm, protoc: linux-aarch_64 , artifact: linux-arm64 } ?
- { runner: buildjet-32vcpu-ubuntu-2204, protoc: linux-x86_64, artifact: linux-x86_64 }
- { runner: buildjet-32vcpu-ubuntu-2204-arm, protoc: linux-aarch_64, artifact: linux-arm64 }
runs-on: ${{ matrix.config.runner }}
services:
postgres:
Expand Down Expand Up @@ -90,7 +92,7 @@ jobs:
- name: Run frontend build
run: cd webui && pnpm install && pnpm build
- name: Build Arroyo
run: cargo build --release --package arroyo
run: cargo build --release --package arroyo && strip target/release/arroyo
- uses: actions/upload-artifact@v4
with:
name: arroyo-${{ matrix.config.artifact }}
Expand Down

0 comments on commit c386fe1

Please sign in to comment.