diff options
| author | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2024-02-23 16:59:41 +0100 |
|---|---|---|
| committer | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2024-02-23 16:59:41 +0100 |
| commit | 4cc54124d04ebd5cfde4ff7118121e26df11ba45 (patch) | |
| tree | 85d22de3020f356277cde87daa21ca5c91314310 | |
| parent | 1a1fb8aacc42e3b6e97ab6d4e479d6676be8f512 (diff) | |
fix linux build
| -rw-r--r-- | .woodpecker/linux.yaml | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/.woodpecker/linux.yaml b/.woodpecker/linux.yaml index 598c94c..fd216e8 100644 --- a/.woodpecker/linux.yaml +++ b/.woodpecker/linux.yaml @@ -55,18 +55,17 @@ steps: image: git.mrcyjanek.net/mrcyjanek/debian:bookworm commands: - make utf8proc_host - - name: build monero (amd64) + - name: build monero image: git.mrcyjanek.net/mrcyjanek/debian:bookworm commands: - - make monero_linux_amd64 - when: - platform: linux/amd64* - - name: build monero (arm64) - image: git.mrcyjanek.net/mrcyjanek/debian:bookworm - commands: - - make monero_linux_arm64 - when: - platform: linux/arm64* + - architecture="" + - case $(uname -m) in + - i386) architecture="386" ;; + - i686) architecture="386" ;; + - x86_64) architecture="amd64" ;; + - arm) dpkg --print-architecture | grep -q "arm64" && architecture="arm64" || architecture="arm" ;; + - esac + - make monero_linux_$architecture - name: build monero_linux_host64 image: git.mrcyjanek.net/mrcyjanek/debian:bookworm commands: |
