Change GitHub runners to use Ubicloud

This commit is contained in:
Ashcon Partovi
2024-02-20 10:17:11 -08:00
parent 48e7c0fb8e
commit 66de4e5ee9
10 changed files with 20 additions and 20 deletions

View File

@@ -11,7 +11,7 @@ on:
jobs:
deploy:
name: Deploy site
runs-on: ubuntu-latest
runs-on: ubicloud-standard-2
if: github.repository_owner == 'oven-sh'
steps:
- name: Trigger Vercel build

View File

@@ -48,7 +48,7 @@ jobs:
tag: linux-aarch64
arch: aarch64
build_arch: arm64
runner: linux-arm64
runner: ubicloud-standard-16-arm
build_machine_arch: aarch64
steps:
- uses: actions/checkout@v3

View File

@@ -47,7 +47,7 @@ jobs:
tag: linux-x64
arch: x86_64
build_arch: amd64
runner: big-ubuntu
runner: ubicloud-standard-16
build_machine_arch: x86_64
assertions: "OFF"
zig_optimize: "ReleaseFast"
@@ -56,7 +56,7 @@ jobs:
tag: linux-x64-baseline
arch: x86_64
build_arch: amd64
runner: big-ubuntu
runner: ubicloud-standard-16
build_machine_arch: x86_64
assertions: "OFF"
zig_optimize: "ReleaseFast"
@@ -65,7 +65,7 @@ jobs:
# tag: linux-x64-assertions
# arch: x86_64
# build_arch: amd64
# runner: big-ubuntu
# runner: ubicloud-standard-16
# build_machine_arch: x86_64
# assertions: "ON"
# zig_optimize: "ReleaseSafe"
@@ -74,7 +74,7 @@ jobs:
# tag: linux-x64-baseline-assertions
# arch: x86_64
# build_arch: amd64
# runner: big-ubuntu
# runner: ubicloud-standard-16
# build_machine_arch: x86_64
# assertions: "ON"
# zig_optimize: "ReleaseSafe"
@@ -208,7 +208,7 @@ jobs:
[Commit ${{github.sha}}](https://github.com/oven-sh/bun/commits/${{github.sha}})
linux-test:
name: Tests ${{matrix.tag}}
runs-on: ubuntu-latest
runs-on: ubicloud-standard-16
needs: [linux]
if: github.event_name == 'pull_request'
timeout-minutes: 20

View File

@@ -37,7 +37,7 @@ on:
jobs:
macOS-zig:
name: macOS Zig Object
runs-on: med-ubuntu
runs-on: ubicloud-standard-16
if: github.repository_owner == 'oven-sh'
strategy:
matrix:

View File

@@ -37,7 +37,7 @@ on:
jobs:
macos-object-files:
name: macOS Object
runs-on: med-ubuntu
runs-on: ubicloud-standard-16
if: github.repository_owner == 'oven-sh'
strategy:
matrix:

View File

@@ -37,7 +37,7 @@ on:
jobs:
macOS-zig:
name: macOS Zig Object
runs-on: med-ubuntu
runs-on: ubicloud-standard-16
if: github.repository_owner == 'oven-sh'
strategy:
matrix:

View File

@@ -42,7 +42,7 @@ on:
jobs:
sign:
name: Sign Release
runs-on: ubuntu-latest
runs-on: ubicloud-standard-2
if: ${{ github.repository_owner == 'oven-sh' }}
permissions:
contents: write
@@ -71,7 +71,7 @@ jobs:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
npm:
name: Release to NPM
runs-on: ubuntu-latest
runs-on: ubicloud-standard-2
needs: sign
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.use-npm == 'true' }}
permissions:
@@ -95,7 +95,7 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
npm-types:
name: Release types to NPM
runs-on: ubuntu-latest
runs-on: ubicloud-standard-2
needs: sign
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.use-types == 'true' }}
permissions:
@@ -148,7 +148,7 @@ jobs:
token: ${{ secrets.NPM_TOKEN }}
docker:
name: Release to Dockerhub
runs-on: ubuntu-latest
runs-on: ubicloud-standard-2
needs: sign
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.use-docker == 'true' }}
permissions:
@@ -209,7 +209,7 @@ jobs:
BUN_VERSION=${{ env.BUN_VERSION }}
homebrew:
name: Release to Homebrew
runs-on: ubuntu-latest
runs-on: ubicloud-standard-2
needs: sign
permissions:
contents: read
@@ -242,7 +242,7 @@ jobs:
commit_author: robobun <robobun@oven.sh>
s3:
name: Upload to S3
runs-on: ubuntu-latest
runs-on: ubicloud-standard-2
needs: sign
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.use-s3 == 'true' }}
permissions:

View File

@@ -11,7 +11,7 @@ on:
jobs:
tests:
name: type-tests
runs-on: ubuntu-latest
runs-on: ubicloud-standard-2
defaults:
run:
working-directory: packages/bun-types

View File

@@ -53,7 +53,7 @@ jobs:
cpu: [haswell, nehalem]
arch: [x86_64]
name: Zig Build
runs-on: med-ubuntu
runs-on: ubicloud-standard-16
timeout-minutes: 60
if: github.repository_owner == 'oven-sh'
steps:
@@ -185,7 +185,7 @@ jobs:
# yet released as it is the one *this* commit.
windows-codegen:
name: Codegen
runs-on: ubuntu-latest
runs-on: ubicloud-standard-2
timeout-minutes: 10
if: github.repository_owner == 'oven-sh'
strategy:

View File

@@ -16,7 +16,7 @@ permissions:
jobs:
format:
name: format
runs-on: ubuntu-latest
runs-on: ubicloud-standard-2
steps:
- name: Checkout
uses: actions/checkout@v4