politburo/.woodpecker.yml

16 lines
677 B
YAML
Raw Normal View History

2024-02-29 12:16:06 -05:00
steps:
- name: build
image: rust
commands:
2024-02-29 12:24:34 -05:00
- apt-get -y update
2024-02-29 14:23:30 -05:00
- apt-get -y install wayland-protocols wayland-utils libwayland-client0 libwayland-dev libasound2 libasound2-dev libudev-dev libudev1
- wget https://github.com/mozilla/sccache/releases/download/v0.7.7/sccache-v0.7.7-x86_64-unknown-linux-musl.tar.gz
2024-02-29 14:24:17 -05:00
- tar xzf sccache-v0.7.7-x86_64-unknown-linux-musl.tar.gz
- mv sccache-v0.7.7-x86_64-unknown-linux-musl/sccache /usr/bin/sccache
2024-02-29 14:23:30 -05:00
- chmod +x /usr/bin/sccache
2024-02-29 13:52:26 -05:00
- sccache --start-server
2024-02-29 14:14:37 -05:00
- sccache --show-stats
2024-03-01 08:18:02 -05:00
- cargo test --target-dir /var/woodpecker
volumes:
- /var/woodpecker:/var/woodpecker