ci(config): add build_linux job
This commit is contained in:
parent
d0d7f2c4f8
commit
6d4ec8d3a6
|
@ -12,8 +12,7 @@ jobs:
|
||||||
- run: apt-get -y update
|
- run: apt-get -y update
|
||||||
- run: apt-get -y install libusb-1.0-0-dev graphicsmagick libudev-dev
|
- run: apt-get -y install libusb-1.0-0-dev graphicsmagick libudev-dev
|
||||||
- run: apt-get -y install tmux xvfb libxtst6 libxss1 libgtk2.0-0 libnss3 libasound2 libgconf-2-4 ffmpeg frei0r-plugins
|
- run: apt-get -y install tmux xvfb libxtst6 libxss1 libgtk2.0-0 libnss3 libasound2 libgconf-2-4 ffmpeg frei0r-plugins
|
||||||
# TODO: Just a quick try
|
- run: yarn config delete proxy
|
||||||
- run: rm yarn.lock
|
|
||||||
- run: yarn install
|
- run: yarn install
|
||||||
- run:
|
- run:
|
||||||
name: Run Webpack
|
name: Run Webpack
|
||||||
|
@ -38,8 +37,30 @@ jobs:
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/e2e-record.mp4
|
path: /tmp/e2e-record.mp4
|
||||||
destination: e2e-record.mp4
|
destination: e2e-record.mp4
|
||||||
|
- save_cache:
|
||||||
|
key: zec-dependencies-cache-{{ checksum "yarn.lock" }}
|
||||||
|
paths:
|
||||||
|
- /usr/local/share/.cache/yarn/v2
|
||||||
|
- ./node_modules
|
||||||
|
build_linux:
|
||||||
|
docker:
|
||||||
|
- image: electronuserland/builder:wine-chrome
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- restore_cache:
|
||||||
|
key: zec-dependencies-cache-{{ checksum "yarn.lock" }}
|
||||||
|
- run: apt-get -y update
|
||||||
|
- run: apt-get -y install libusb-1.0-0-dev icnsutils graphicsmagick libudev-dev
|
||||||
|
- run: yarn config delete proxy
|
||||||
|
- run: yarn electron:dist -l
|
||||||
|
- store_artifacts:
|
||||||
|
path: ./dist/zec-react-wallet_0.3.0_amd64.deb
|
||||||
|
destination: zec-react-wallet_0.3.0_amd64.deb
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
test:
|
build_test:
|
||||||
jobs:
|
jobs:
|
||||||
- test
|
- test
|
||||||
|
- build_linux:
|
||||||
|
requires:
|
||||||
|
- test
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
"description": "Zcash Reference Wallet",
|
"description": "Zcash Reference Wallet",
|
||||||
"main": "config/main.js",
|
"main": "config/main.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"homepage": "https://zfnd.org/",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "concurrently \"cross-env BROWSER=none yarn dev\" \"wait-on http://0.0.0.0:8080 && yarn electron:dev\"",
|
"start": "concurrently \"cross-env BROWSER=none yarn dev\" \"wait-on http://0.0.0.0:8080 && yarn electron:dev\"",
|
||||||
"dev": "webpack-dev-server --config config/webpack-dev.config.js --mode development --open --hot",
|
"dev": "webpack-dev-server --config config/webpack-dev.config.js --mode development --open --hot",
|
||||||
|
|
Loading…
Reference in New Issue