diff --git a/.woodpecker.yml b/.woodpecker.yml index d511120..67f9704 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,6 +3,15 @@ platform: linux/amd64 pipeline: build: image: 'archlinux:latest' + environment: + - SCCACHE_BUCKET=bur + - SCCACHE_ENDPOINT=s3.rustybever.be + - SCCACHE_S3_USE_SSL=true + - SCCACHE_S3_KEY_PREFIX=jjr-newsflash + - RUSTC_WRAPPER=/usr/bin/sccache + secrets: + - aws_access_key_id + - aws_secret_access_key commands: # Update packages - pacman -Syu --needed --noconfirm base-devel diff --git a/PKGBUILD b/PKGBUILD index 8375a44..2407a4b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,7 +9,7 @@ arch=(any) url="https://gitlab.com/news-flash/news_flash_gtk" license=(GPL3) depends=(libhandy webkit2gtk) -makedepends=(git cargo meson rust) +makedepends=(git cargo meson rust sccache) conflicts=(newsflash) source=("git+https://gitlab.com/news-flash/news_flash_gtk.git") sha512sums=("SKIP")