diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 349624688f2..3da6b1bac1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,13 +23,10 @@ jobs: name: Smoketests strategy: matrix: - runner: [spacetimedb-new-runner, windows-latest] + runner: [spacetimedb-new-runner-2, windows-latest] include: - - runner: spacetimedb-new-runner + - runner: spacetimedb-new-runner-2 smoketest_args: --docker - container: - image: localhost:5000/spacetimedb-ci:latest - options: --privileged - runner: windows-latest smoketest_args: --no-build-cli container: null @@ -86,10 +83,6 @@ jobs: shell: powershell - name: Build crates run: cargo build -p spacetimedb-cli -p spacetimedb-standalone -p spacetimedb-update - - name: Start Docker daemon - if: runner.os == 'Linux' - run: /usr/local/bin/start-docker.sh - - name: Build and start database (Linux) if: runner.os == 'Linux' run: | @@ -123,11 +116,8 @@ jobs: test: needs: [lints] name: Test Suite - runs-on: spacetimedb-new-runner - container: - image: localhost:5000/spacetimedb-ci:latest - options: >- - --privileged + runs-on: spacetimedb-new-runner-2 + env: CARGO_TARGET_DIR: ${{ github.workspace }}/target steps: @@ -180,11 +170,7 @@ jobs: lints: name: Lints - runs-on: spacetimedb-new-runner - container: - image: localhost:5000/spacetimedb-ci:latest - options: >- - --privileged + runs-on: spacetimedb-new-runner-2 env: CARGO_TARGET_DIR: ${{ github.workspace }}/target steps: @@ -212,11 +198,7 @@ jobs: wasm_bindings: name: Build and test wasm bindings - runs-on: spacetimedb-new-runner - container: - image: localhost:5000/spacetimedb-ci:latest - options: >- - --privileged + runs-on: spacetimedb-new-runner-2 env: CARGO_TARGET_DIR: ${{ github.workspace }}/target steps: @@ -239,11 +221,7 @@ jobs: publish_checks: name: Check that packages are publishable - runs-on: spacetimedb-new-runner - container: - image: localhost:5000/spacetimedb-ci:latest - options: >- - --privileged + runs-on: spacetimedb-new-runner-2 permissions: read-all steps: - uses: actions/checkout@v3 @@ -272,11 +250,8 @@ jobs: strategy: matrix: include: - - runner: spacetimedb-new-runner + - runner: spacetimedb-new-runner-2 target: x86_64-unknown-linux-gnu - container: - image: localhost:5000/spacetimedb-ci:latest - options: --privileged - { target: aarch64-unknown-linux-gnu, runner: arm-runner } - { target: aarch64-apple-darwin, runner: macos-latest } - { target: x86_64-pc-windows-msvc, runner: windows-latest } @@ -324,7 +299,7 @@ jobs: name: Unreal Engine Tests # This can't go on e.g. ubuntu-latest because that runner runs out of disk space. ChatGPT suggested that the general solution tends to be to use # a custom runner. - runs-on: spacetimedb-new-runner + runs-on: spacetimedb-new-runner-2 # Disable the tests because they are very flaky at the moment. # TODO: Remove this line and re-enable the `if` line just below here. if: false @@ -411,7 +386,7 @@ jobs: ci_command_docs: name: Check CI command docs - runs-on: ubuntu-latest + runs-on: spacetimedb-new-runner-2 steps: - name: Find Git ref env: @@ -439,11 +414,7 @@ jobs: cli_docs: name: Check CLI docs permissions: read-all - runs-on: spacetimedb-new-runner - container: - image: localhost:5000/spacetimedb-ci:latest - options: >- - --privileged + runs-on: spacetimedb-new-runner-2 env: CARGO_TARGET_DIR: ${{ github.workspace }}/target steps: @@ -658,12 +629,7 @@ jobs: csharp-testsuite: needs: [lints] - runs-on: spacetimedb-new-runner - container: - image: localhost:5000/spacetimedb-ci:latest - options: >- - --privileged - --cgroupns=host + runs-on: spacetimedb-new-runner-2 timeout-minutes: 30 env: CARGO_TARGET_DIR: ${{ github.workspace }}/target