Simplify CI - remove sccache and simplify build step
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
This commit is contained in:
parent
5783d2e784
commit
0e8e416284
1 changed files with 1 additions and 8 deletions
|
|
@ -7,9 +7,6 @@ on:
|
|||
env:
|
||||
CARGO_BUILD_JOBS: 8
|
||||
CARGO_NET_RETRY: 10
|
||||
RUSTC_WRAPPER: sccache
|
||||
SCCACHE_DIR: /tmp/sccache
|
||||
CARGO_HOME: /tmp/cargo
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -30,8 +27,6 @@ jobs:
|
|||
|
||||
- name: Setup Workspace
|
||||
run: |
|
||||
mkdir -p /tmp/sccache
|
||||
mkdir -p /tmp/cargo
|
||||
mkdir -p /tmp/persistent-botserver
|
||||
mkdir -p /tmp/gb-ws
|
||||
|
||||
|
|
@ -80,9 +75,7 @@ jobs:
|
|||
working-directory: /tmp/persistent-botserver
|
||||
run: |
|
||||
export PATH="/home/gbuser/.cargo/bin:/home/gbuser/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:$PATH"
|
||||
sccache --start-server 2>/dev/null || true
|
||||
cargo build --package botserver
|
||||
sccache --stop-server 2>/dev/null || true
|
||||
cargo build --package botserver 2>&1
|
||||
|
||||
- name: Deploy
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue