This commit is contained in:
commit
e892c2f8a3
78 changed files with 6070 additions and 0 deletions
17
.woodpecker.yml
Normal file
17
.woodpecker.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
steps:
|
||||
- name: build
|
||||
image: rust
|
||||
commands:
|
||||
- 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
|
||||
- curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
|
||||
- cargo binstall trunk
|
||||
- trunk build --release -- --target-dir /var/woodpecker/portfolio-build
|
||||
- rm -rf /var/woodpecker/portfolio
|
||||
- mv dist /var/woodpecker/portfolio
|
||||
volumes:
|
||||
- /var/woodpecker:/var/woodpecker
|
||||
Loading…
Add table
Add a link
Reference in a new issue