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
|
2024-03-10 20:29:58 -04:00
|
|
|
- wget https://github.com/mozilla/sccache/releases/download/v0.7.7/sccache-v0.7.7-x86_64-unknown-linux-musl.tar.gz
|
2024-03-10 20:29:02 -04: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
|
|
|
|
- chmod +x /usr/bin/sccache
|
|
|
|
- sccache --start-server
|
|
|
|
- sccache --show-stats
|
2024-03-01 08:20:18 -05:00
|
|
|
- cargo test --target-dir /var/woodpecker --features bevy/dynamic_linking
|
2024-03-10 20:27:00 -04:00
|
|
|
- cargo doc --target-dir /var/woodpecker --features bevy/dynamic_linking
|
2024-03-01 08:18:02 -05:00
|
|
|
volumes:
|
|
|
|
- /var/woodpecker:/var/woodpecker
|