mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-15 21:28:40 -09:00
add pacman build target (#7272)
This commit is contained in:
parent
049c97c5c4
commit
bb0c98f0f6
2 changed files with 11 additions and 3 deletions
11
.github/workflows/nodejs.yml
vendored
11
.github/workflows/nodejs.yml
vendored
|
|
@ -40,6 +40,9 @@ jobs:
|
||||||
run: yarn install
|
run: yarn install
|
||||||
env:
|
env:
|
||||||
npm_config_node_gyp: ${{ github.workspace }}${{ runner.os == 'Windows' && '\node_modules\node-gyp\bin\node-gyp.js' || '/node_modules/node-gyp/bin/node-gyp.js' }}
|
npm_config_node_gyp: ${{ github.workspace }}${{ runner.os == 'Windows' && '\node_modules\node-gyp\bin\node-gyp.js' || '/node_modules/node-gyp/bin/node-gyp.js' }}
|
||||||
|
- name: Install libarchive-tools
|
||||||
|
if: runner.os == 'Linux'
|
||||||
|
run: sudo apt install libarchive-tools
|
||||||
- name: Lint and Run Unit Tests
|
- name: Lint and Run Unit Tests
|
||||||
run: yarn run test
|
run: yarn run test
|
||||||
- name: Getting Build Icon
|
- name: Getting Build Icon
|
||||||
|
|
@ -73,6 +76,7 @@ jobs:
|
||||||
dist/*.AppImage
|
dist/*.AppImage
|
||||||
dist/*.deb
|
dist/*.deb
|
||||||
dist/*.rpm
|
dist/*.rpm
|
||||||
|
dist/*.pacman
|
||||||
dist/*.exe
|
dist/*.exe
|
||||||
- name: Run E2E Tests
|
- name: Run E2E Tests
|
||||||
if: runner.os != 'Linux'
|
if: runner.os != 'Linux'
|
||||||
|
|
@ -128,7 +132,9 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
${{ runner.os }}-yarn-
|
||||||
- name: Install
|
- name: Install
|
||||||
run: yarn install
|
run: |
|
||||||
|
yarn install
|
||||||
|
sudo apt install libarchive-tools
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: yarn run build
|
run: yarn run build
|
||||||
- name: rebuild node-pty
|
- name: rebuild node-pty
|
||||||
|
|
@ -157,7 +163,7 @@ jobs:
|
||||||
sudo apt install -y libglib2.0-0:i386 libexpat1:i386
|
sudo apt install -y libglib2.0-0:i386 libexpat1:i386
|
||||||
npm_config_arch=armv7l yarn run v8-snapshot:arch
|
npm_config_arch=armv7l yarn run v8-snapshot:arch
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn run electron-builder -l deb rpm AppImage --${{ matrix.name }} -c electron-builder-linux-ci.json
|
run: yarn run electron-builder -l deb rpm AppImage pacman --${{ matrix.name }} -c electron-builder-linux-ci.json
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Archive Build Artifacts
|
- name: Archive Build Artifacts
|
||||||
|
|
@ -168,3 +174,4 @@ jobs:
|
||||||
dist/*.AppImage
|
dist/*.AppImage
|
||||||
dist/*.deb
|
dist/*.deb
|
||||||
dist/*.rpm
|
dist/*.rpm
|
||||||
|
dist/*.pacman
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,8 @@
|
||||||
"deb",
|
"deb",
|
||||||
"AppImage",
|
"AppImage",
|
||||||
"rpm",
|
"rpm",
|
||||||
"snap"
|
"snap",
|
||||||
|
"pacman"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"win": {
|
"win": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue