Skip to content

Commit dc881f2

Browse files
authored
Use custom runner for building CLI (#3716)
# Description of Changes <!-- Please describe your change, mention any related tickets, and so on here. --> - This has 2 benefits: 1. `ubuntu-latest` recently changed to 24.04 instead of 22.04 so that broke the last CLI on some systems. This will fix that issue. 2. Performance - this should build much much faster. # API and ABI breaking changes None <!-- If this is an API or ABI breaking change, please apply the corresponding GitHub label. --> # Expected complexity level and risk 2 - if the CLI fails to build this might be why. <!-- How complicated do you think these changes are? Grade on a scale from 1 to 5, where 1 is a trivial change, and 5 is a deep-reaching and complex change. This complexity rating applies not only to the complexity apparent in the diff, but also to its interactions with existing and future code. If you answered more than a 2, explain what is complex about the PR, and what other components it interacts with in potentially concerning ways. --> # Testing - [x] Tested via today's release: https://github.com/clockworklabs/SpacetimeDB/actions/runs/19550648024/job/55980960439
1 parent 2902441 commit dc881f2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/package.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
include:
17-
- { name: x86_64 Linux, target: x86_64-unknown-linux-gnu, runner: ubuntu-latest }
17+
- name: x86_64 Linux
18+
target: x86_64-unknown-linux-gnu
19+
runner: spacetimedb-new-runner
20+
container:
21+
image: localhost:5000/spacetimedb-ci:latest
22+
options: >-
23+
--privileged
1824
- { name: aarch64 Linux, target: aarch64-unknown-linux-gnu, runner: arm-runner }
1925
# Disabled because musl builds weren't working and we didn't want to investigate. See https://github.com/clockworklabs/SpacetimeDB/pull/2964.
2026
# - { name: x86_64 Linux musl, target: x86_64-unknown-linux-musl, runner: bare-metal, container: alpine }

0 commit comments

Comments
 (0)