Hopefully added sccache config
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
661a6e03b5
commit
9391266b68
|
@ -0,0 +1,4 @@
|
||||||
|
*
|
||||||
|
|
||||||
|
!PKGBUILD
|
||||||
|
!.woodpecker.yml
|
|
@ -1,6 +1,13 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: 'archlinux:latest'
|
image: 'archlinux:latest'
|
||||||
|
environment:
|
||||||
|
- SCCACHE_BUCKET=bur
|
||||||
|
- SCCACHE_ENDPOINT=s3.rustybever.be
|
||||||
|
- SCCACHE_S3_USE_SSL=true
|
||||||
|
secrets:
|
||||||
|
- aws_access_key_id
|
||||||
|
- aws_secret_access_key
|
||||||
commands:
|
commands:
|
||||||
# Update packages
|
# Update packages
|
||||||
- pacman -Syu --needed --noconfirm base-devel
|
- pacman -Syu --needed --noconfirm base-devel
|
||||||
|
|
19
PKGBUILD
19
PKGBUILD
|
@ -2,7 +2,7 @@
|
||||||
# Maintainer: Joseph Donofry <joe at joedonofry dot com>
|
# Maintainer: Joseph Donofry <joe at joedonofry dot com>
|
||||||
|
|
||||||
pkgname=jjr-nheko
|
pkgname=jjr-nheko
|
||||||
pkgver=0.9.1.r85.g970ed56f
|
pkgver=0.9.1.r86.g8d52c17f
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Desktop client for the Matrix protocol"
|
pkgdesc="Desktop client for the Matrix protocol"
|
||||||
arch=("i686" "x86_64" "aarch64")
|
arch=("i686" "x86_64" "aarch64")
|
||||||
|
@ -10,8 +10,8 @@ arch=("i686" "x86_64" "aarch64")
|
||||||
url="https://github.com/Nheko-Reborn/nheko"
|
url="https://github.com/Nheko-Reborn/nheko"
|
||||||
license=("GPL3")
|
license=("GPL3")
|
||||||
|
|
||||||
depends=("qt5-base" "lmdb" "qt5-graphicaleffects" "qt5-multimedia" "qt5-svg" "qt5-quickcontrols2" "qt5-declarative" "qtkeychain-qt5" "cmark" "openssl" "hicolor-icon-theme" "gstreamer" "gst-plugins-base" "gst-plugins-good" "gst-plugins-bad" "gst-plugin-qmlgl" "libnice" "libolm" "spdlog" "curl" "libevent")
|
depends=("qt5-base" "lmdb" "qt5-graphicaleffects" "qt5-multimedia" "qt5-svg" "qt5-quickcontrols2" "qt5-declarative" "qtkeychain-qt5" "cmark" "openssl" "hicolor-icon-theme" "gstreamer" "gst-plugins-base" "gst-plugins-good" "gst-plugins-bad" "gst-plugin-qmlgl" "libnice" "libolm" "spdlog" "curl" "libevent" "qt5-imageformats")
|
||||||
makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools" "nlohmann-json" "asciidoc")
|
makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools" "nlohmann-json" "asciidoc" "sccache")
|
||||||
optdepends=("qt-jdenticon")
|
optdepends=("qt-jdenticon")
|
||||||
provides=("nheko")
|
provides=("nheko")
|
||||||
conflicts=("nheko" "nheko-git")
|
conflicts=("nheko" "nheko-git")
|
||||||
|
@ -33,8 +33,17 @@ build() {
|
||||||
|
|
||||||
rm -f cmake/FindOlm.cmake
|
rm -f cmake/FindOlm.cmake
|
||||||
|
|
||||||
cmake -H. -Bbuild -DHUNTER_ENABLED=OFF -DBUILD_SHARED_LIBS=OFF -DUSE_BUNDLED_MTXCLIENT=ON -DUSE_BUNDLED_COEURL=ON -DUSE_BUNDLED_LMDBXX=ON -DCMAKE_INSTALL_PREFIX=.deps/usr -DCMAKE_BUILD_TYPE=Release
|
cmake -H. -Bbuild \
|
||||||
cmake --build build --config Release
|
-DHUNTER_ENABLED=OFF \
|
||||||
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
|
-DUSE_BUNDLED_MTXCLIENT=ON \
|
||||||
|
-DUSE_BUNDLED_COEURL=ON \
|
||||||
|
-DUSE_BUNDLED_LMDBXX=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=.deps/usr \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_C_COMPILER_LAUNCHER=sccache \
|
||||||
|
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
|
||||||
|
SCCACHE_S3_KEY_PREFIX="$pkgname" cmake --build build --config Release
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
Loading…
Reference in New Issue