Browse Source
Merge pull request #1601 from meriadec/fix-ci-and-non-linux-packaging
Fix CircleCI config (libfuse) and release on non-linux platforms
gre-patch-1
Gaëtan Renaudeau
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
56 additions and
46 deletions
-
.circleci/config.yml
-
scripts/release.sh
|
@ -9,7 +9,7 @@ jobs: |
|
|
build: |
|
|
build: |
|
|
<<: *defaults |
|
|
<<: *defaults |
|
|
steps: |
|
|
steps: |
|
|
- run: sudo apt-get install -y libudev-dev |
|
|
- run: sudo apt-get install -y libudev-dev libfuse-dev |
|
|
- run: |
|
|
- run: |
|
|
name: Install latest yarn |
|
|
name: Install latest yarn |
|
|
command: | |
|
|
command: | |
|
|
|
@ -69,6 +69,7 @@ fi |
|
|
|
|
|
|
|
|
runJob "yarn compile" "compiling..." "compiled" "failed to compile" "verbose" |
|
|
runJob "yarn compile" "compiling..." "compiled" "failed to compile" "verbose" |
|
|
|
|
|
|
|
|
|
|
|
if [[ $(uname) == 'Linux' ]]; then |
|
|
# -------------------------------------------------------------------- |
|
|
# -------------------------------------------------------------------- |
|
|
# Linux: Internal process error (null) |
|
|
# Linux: Internal process error (null) |
|
|
# |
|
|
# |
|
@ -114,3 +115,12 @@ scripts/upload-github-release-asset.sh \ |
|
|
repo=ledger-live-desktop \ |
|
|
repo=ledger-live-desktop \ |
|
|
tag="$GH_TAG" \ |
|
|
tag="$GH_TAG" \ |
|
|
filename="dist/latest-linux.yml" |
|
|
filename="dist/latest-linux.yml" |
|
|
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
|
runJob \ |
|
|
|
|
|
"DEBUG=electron-builder electron-builder build --publish always" \ |
|
|
|
|
|
"building and packaging app..." \ |
|
|
|
|
|
"app built and packaged successfully" \ |
|
|
|
|
|
"failed to build app" \ |
|
|
|
|
|
"verbose" |
|
|
|
|
|
fi |
|
|