mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 06:54:45 +03:00
ci: adjust freebsd order of operations
This commit is contained in:
parent
1a7ca22279
commit
c3e759b6f6
15
.cirrus.yml
15
.cirrus.yml
@ -11,6 +11,13 @@ task:
|
||||
name: freebsd-13
|
||||
stateful: false
|
||||
only_if: "changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock')"
|
||||
setup_script:
|
||||
- pkg install -y bash
|
||||
- curl https://sh.rustup.rs -sSf > /tmp/rustup.sh
|
||||
- chmod +x /tmp/rustup.sh
|
||||
- RUSTUP_IO_THREADS=1 /tmp/rustup.sh -y -q
|
||||
- env PATH=$HOME/.cargo/bin:$PATH bash get-deps
|
||||
- mkdir -p /run/sshd
|
||||
registry_cache:
|
||||
folder: $CARGO_HOME/registry
|
||||
fingerprint_script: cat Cargo.lock
|
||||
@ -20,14 +27,6 @@ task:
|
||||
- rustc --version
|
||||
- cat Cargo.lock
|
||||
before_cache_script: rm -rf $CARGO_HOME/registry/index
|
||||
|
||||
setup_script:
|
||||
- pkg install -y bash
|
||||
- curl https://sh.rustup.rs -sSf > /tmp/rustup.sh
|
||||
- chmod +x /tmp/rustup.sh
|
||||
- RUSTUP_IO_THREADS=1 /tmp/rustup.sh -y -q
|
||||
- env PATH=$HOME/.cargo/bin:$PATH bash get-deps
|
||||
- mkdir -p /run/sshd
|
||||
test_script:
|
||||
- env PATH=$HOME/.cargo/bin:$PATH cargo build --all --release
|
||||
- env PATH=$HOME/.cargo/bin:$PATH cargo test --all --release
|
||||
|
Loading…
Reference in New Issue
Block a user