diff --git a/.woodpecker.yml b/.woodpecker.yml index 9216fbd..e4f6c15 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,10 +1,16 @@ matrix: - PLATFORM: - - linux/amd64 - - linux/arm64 + # PLATFORM: + # - linux/amd64 + # - linux/arm64 + + ARCH: + # tuur + - tigerlake + # cenny + - skylake branches: main -platform: ${PLATFORM} +platform: linux/amd64 when: event: push @@ -13,6 +19,8 @@ pipeline: build: image: 'menci/archlinuxarm:base-devel' commands: + # Add my bur repo to pacman for the libxft-bgra dependency + - echo -e '[bur]\nServer = https://arch.r8r.be/$repo/$arch\nSigLevel = Optional' >> /etc/pacman.conf # Update packages - pacman -Syu --noconfirm # Create non-root user to perform build & switch to their home @@ -22,7 +30,11 @@ pipeline: - "echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" - su builder # Build the package - - MAKEFLAGS="-j$(nproc)" makepkg -s --noconfirm --needed + - > + MAKEFLAGS="-j$(nproc)" + makepkg -s --noconfirm --needed + CFLAGS="-O3 -flto -march=${ARCH}" + CARCH="x86_64_${ARCH}" publish: image: 'curlimages/curl' diff --git a/PKGBUILD b/PKGBUILD index 79cfbc1..44a319f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,12 @@ pkgname="jjr-dmenu" pkgver="5.2" pkgrel=1 pkgdesc="Chewing_Bever's custom build of Suckless's dmenu." -arch=("x86_64" "aarch64") +arch=( + "x86_64" + "x86_64_tigerlake" + "x86_64_skylake" + "aarch64" +) url="https://git.rustybever.be/Chewing_Bever/dmenu" license=("MIT")