politburo/.woodpecker.yml
Isaac Mills 41de21026e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Improve CI
2024-03-01 08:20:18 -05:00

15 lines
709 B
YAML

steps:
- name: build
image: rust
commands:
- apt-get -y update
- 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
- 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
- chmod +x /usr/bin/sccache
- sccache --start-server
- sccache --show-stats
- cargo test --target-dir /var/woodpecker --features bevy/dynamic_linking
volumes:
- /var/woodpecker:/var/woodpecker