Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
timeout-minutes: 120
env:
CARGO_TARGET_DIR: ${{ github.workspace }}/target
RUST_BACKTRACE: full
SPACETIMEDB_CPP_DIR: ${{ github.workspace }}/crates/bindings-cpp
steps:
- name: Find Git ref
Expand Down Expand Up @@ -182,6 +183,7 @@ jobs:

env:
CARGO_TARGET_DIR: ${{ github.workspace }}/target
RUST_BACKTRACE: full
steps:
- name: Find Git ref
env:
Expand Down Expand Up @@ -272,6 +274,7 @@ jobs:
timeout-minutes: 60
env:
CARGO_TARGET_DIR: ${{ github.workspace }}/target
RUST_BACKTRACE: full
steps:
- name: Find Git ref
env:
Expand Down Expand Up @@ -327,6 +330,7 @@ jobs:
runs-on: spacetimedb-new-runner-2
env:
CARGO_TARGET_DIR: ${{ github.workspace }}/target
RUST_BACKTRACE: full
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -366,6 +370,7 @@ jobs:
runs-on: spacetimedb-new-runner-2
env:
CARGO_TARGET_DIR: ${{ github.workspace }}/target
RUST_BACKTRACE: full
steps:
- uses: actions/checkout@v3

Expand All @@ -390,6 +395,8 @@ jobs:
name: Check that packages are publishable
runs-on: spacetimedb-new-runner-2
permissions: read-all
env:
RUST_BACKTRACE: full
steps:
- uses: actions/checkout@v3
- uses: dsherret/rust-toolchain-file@v1
Expand All @@ -409,6 +416,8 @@ jobs:
- { target: aarch64-apple-darwin, runner: macos-latest }
- { target: x86_64-pc-windows-msvc, runner: windows-latest }
runs-on: ${{ matrix.runner }}
env:
RUST_BACKTRACE: full
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -453,6 +462,8 @@ jobs:
# Run as root because otherwise we get permission denied for various directories inside the container. I tried doing dances to allow it to run
# without this (reassigning env vars and stuff), but was unable to get it to work and it felt like an uphill battle.
options: --user 0:0
env:
RUST_BACKTRACE: full
steps:
# Uncomment this before merging so that it will run properly if run manually through the GH actions flow. It was playing weird with rolled back
# commits though.
Expand Down Expand Up @@ -525,6 +536,8 @@ jobs:
ci_command_docs:
name: Check CI command docs
runs-on: spacetimedb-new-runner-2
env:
RUST_BACKTRACE: full
steps:
- name: Find Git ref
env:
Expand Down Expand Up @@ -557,6 +570,7 @@ jobs:
runs-on: spacetimedb-new-runner-2
env:
CARGO_TARGET_DIR: ${{ github.workspace }}/target
RUST_BACKTRACE: full
steps:
- name: Find Git ref
env:
Expand Down Expand Up @@ -627,6 +641,7 @@ jobs:
timeout-minutes: 30
env:
CARGO_TARGET_DIR: ${{ github.workspace }}/target
RUST_BACKTRACE: full
steps:
- name: Checkout repository
id: checkout-stdb
Expand Down Expand Up @@ -766,6 +781,7 @@ jobs:
timeout-minutes: 30
env:
CARGO_TARGET_DIR: ${{ github.workspace }}/target
RUST_BACKTRACE: full
steps:
- name: Checkout repository
id: checkout-stdb
Expand Down Expand Up @@ -889,6 +905,7 @@ jobs:
contents: read
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: full
TARGET_OWNER: clockworklabs
TARGET_REPO: SpacetimeDBPrivate
steps:
Expand Down Expand Up @@ -1014,6 +1031,8 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
env:
RUST_BACKTRACE: full
steps:
- name: Find Git ref
env:
Expand Down Expand Up @@ -1053,6 +1072,7 @@ jobs:
contents: read
env:
CARGO_TARGET_DIR: ${{ github.workspace }}/target
RUST_BACKTRACE: full
steps:
- name: Find Git ref
env:
Expand Down Expand Up @@ -1105,6 +1125,8 @@ jobs:
docs-build:
name: Docs build
runs-on: spacetimedb-new-runner-2
env:
RUST_BACKTRACE: full
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -1142,6 +1164,8 @@ jobs:
typescript-test:
name: TypeScript - Tests
runs-on: spacetimedb-new-runner-2
env:
RUST_BACKTRACE: full
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -1252,6 +1276,8 @@ jobs:

version_upgrade_check:
runs-on: spacetimedb-new-runner-2
env:
RUST_BACKTRACE: full
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
Loading