Build without keeping build dirs, and recursively list the build dir to see the permissions where it fails. Move obfs4proxy to run later so we can see if this is a problem for all 3 PTs

This commit is contained in:
Miguel Jacq 2025-02-07 09:25:42 +11:00
parent 916c37640b
commit 2be632fe43
No known key found for this signature in database
GPG Key ID: 59B3F0C24135C6A9
2 changed files with 14 additions and 11 deletions

View File

@ -254,7 +254,7 @@ jobs:
- name: Flatpak build
run: |
cd flatpak
flatpak-builder build --force-clean --keep-build-dirs --verbose --install-deps-from=flathub --install --user org.onionshare.OnionShare.yaml
flatpak-builder build --force-clean --verbose --install-deps-from=flathub --install --user org.onionshare.OnionShare.yaml
flatpak build-bundle ~/.local/share/flatpak/repo ~/OnionShare.flatpak org.onionshare.OnionShare --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo
- uses: actions/upload-artifact@v4

View File

@ -59,16 +59,6 @@ modules:
- type: archive
url: https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
sha256: 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
- name: obfs4proxy
buildsystem: simple
build-options:
build-args:
- --share=network
build-commands:
- ". /usr/lib/sdk/golang/enable.sh; export GOPATH=$PWD; export GO111MODULE=on; cd desktop && ./scripts/build-pt-obfs4proxy.sh && mv onionshare/resources/tor/obfs4proxy /app/bin/obfs4proxy"
sources:
- type: dir
path: ..
- name: meek-client
buildsystem: simple
build-options:
@ -76,6 +66,7 @@ modules:
- --share=network
build-commands:
- ". /usr/lib/sdk/golang/enable.sh; export GOPATH=$PWD; export GO111MODULE=on; cd desktop && ./scripts/build-pt-meek.sh && mv onionshare/resources/tor/meek-client /app/bin/meek-client"
- "ls -aR $FLATPAK_BUILDER_BUILDDIR"
sources:
- type: dir
path: ..
@ -86,6 +77,18 @@ modules:
- --share=network
build-commands:
- ". /usr/lib/sdk/golang/enable.sh; export GOPATH=$PWD; export GO111MODULE=on; cd desktop && ./scripts/build-pt-snowflake.sh && mv onionshare/resources/tor/snowflake-client /app/bin/snowflake-client"
- "ls -aR $FLATPAK_BUILDER_BUILDDIR"
sources:
- type: dir
path: ..
- name: obfs4proxy
buildsystem: simple
build-options:
build-args:
- --share=network
build-commands:
- ". /usr/lib/sdk/golang/enable.sh; export GOPATH=$PWD; export GO111MODULE=on; cd desktop && ./scripts/build-pt-obfs4proxy.sh && mv onionshare/resources/tor/obfs4proxy /app/bin/obfs4proxy"
- "ls -aR $FLATPAK_BUILDER_BUILDDIR"
sources:
- type: dir
path: ..