Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,8 @@ jobs:
include:
- arch: x86_64
runs-on: ubuntu-latest
protoc-zip: protoc-25.2-linux-x86_64.zip
protoc-sha256: 78ab9c3288919bdaa6cfcec6127a04813cf8a0ce406afa625e48e816abee2878
- arch: aarch64
runs-on: ubuntu-24.04-arm
protoc-zip: protoc-25.2-linux-aarch_64.zip
protoc-sha256: 07683afc764e4efa3fa969d5f049fbc2bdfc6b4e7786a0b233413ac0d8753f6b

runs-on: ${{ matrix.runs-on }}
timeout-minutes: 20
Expand Down Expand Up @@ -59,11 +55,6 @@ jobs:
echo "=== Disk space after SDK install ==="
df -h

- name: Patch manifest for architecture
run: |
sed -i "s|protoc-25.2-linux-x86_64.zip|${{ matrix.protoc-zip }}|g" flatpak/org.dash.DashEvoTool.yml
sed -i "s|sha256: 78ab9c3288919bdaa6cfcec6127a04813cf8a0ce406afa625e48e816abee2878|sha256: ${{ matrix.protoc-sha256 }}|" flatpak/org.dash.DashEvoTool.yml

- name: Prepare Cargo cache
run: mkdir -p cargo-cache/registry cargo-cache/git cargo-target

Expand Down
14 changes: 11 additions & 3 deletions flatpak/org.dash.DashEvoTool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,24 @@ build-options:

modules:
# Module 1: Install protobuf compiler (required for building dash-sdk)
# NOTE: CI patches this module for aarch64 via sed (see .github/workflows/flatpak.yml).
- name: protoc
buildsystem: simple
sources:
- type: file
only-arches:
- x86_64
dest-filename: protoc.zip
url: https://github.com/protocolbuffers/protobuf/releases/download/v25.2/protoc-25.2-linux-x86_64.zip
sha256: 78ab9c3288919bdaa6cfcec6127a04813cf8a0ce406afa625e48e816abee2878
- type: file
only-arches:
- aarch64
dest-filename: protoc.zip
url: https://github.com/protocolbuffers/protobuf/releases/download/v25.2/protoc-25.2-linux-aarch_64.zip
sha256: 07683afc764e4efa3fa969d5f049fbc2bdfc6b4e7786a0b233413ac0d8753f6b
Comment thread
lklimek marked this conversation as resolved.
build-commands:
- unzip protoc-25.2-linux-x86_64.zip bin/protoc -d /app
- unzip protoc-25.2-linux-x86_64.zip 'include/*' -d /app
- unzip protoc.zip bin/protoc -d /app
- unzip protoc.zip 'include/*' -d /app
- chmod 755 /app/bin/protoc

# Module 2: Build libsodium (required for crypto operations)
Expand Down
Loading