Change snapcraft build to use path required for snapcraft.io, and stop building in Github Actions CI

This commit is contained in:
Micah Lee 2022-10-06 09:40:43 -07:00
parent 702aac87e9
commit 567b477f52
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
2 changed files with 17 additions and 17 deletions

View file

@ -1,5 +1,5 @@
name: Build name: Build
run-name: Build win32, win64, mac (Intel), snap (amd64) 🚀 run-name: Build win32, win64, mac (Intel) 🚀
on: on:
push: push:
branches: branches:
@ -305,23 +305,23 @@ jobs:
name: mac-build name: mac-build
path: ~/onionshare-macos.tar.gz path: ~/onionshare-macos.tar.gz
build-snap: # build-snap:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v3 # - uses: actions/checkout@v3
- name: Install dependencies # - name: Install dependencies
run: | # run: |
sudo lxd init --auto # sudo lxd init --auto
sudo snap install snapcraft --classic # sudo snap install snapcraft --classic
- name: Build snap # - name: Build snap
run: sudo snapcraft --use-lxd # run: sudo snapcraft --use-lxd
- uses: actions/upload-artifact@v3 # - uses: actions/upload-artifact@v3
with: # with:
name: snapcraft-build # name: snapcraft-build
path: onionshare_*.snap # path: onionshare_*.snap
build-flatpak: build-flatpak:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View file

@ -136,8 +136,8 @@ parts:
source-type: tar source-type: tar
plugin: autotools plugin: autotools
autotools-configure-parameters: autotools-configure-parameters:
# - "--with-libevent-dir=/build/onionshare/parts/libevent/install/usr/local" - "--with-libevent-dir=/build/onionshare/parts/libevent/install/usr/local"
- "--with-libevent-dir=/root/parts/libevent/install/usr/local" # - "--with-libevent-dir=/root/parts/libevent/install/usr/local"
build-packages: build-packages:
- libssl-dev - libssl-dev
- zlib1g-dev - zlib1g-dev