mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-14 16:40:05 +00:00
Update build.yml
This commit is contained in:
parent
86effd748f
commit
0f35b3bcfa
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
@ -131,12 +131,6 @@ jobs:
|
|||||||
Linux-Build:
|
Linux-Build:
|
||||||
runs-on: ubuntu-18.04 # build against an older glibc for compatibility
|
runs-on: ubuntu-18.04 # build against an older glibc for compatibility
|
||||||
needs: Lint
|
needs: Lint
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- arch: x86_64
|
|
||||||
- arch: armv7l
|
|
||||||
- arch: arm64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -162,27 +156,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Build native deps
|
- name: Build native deps
|
||||||
run: scripts/build-native.js
|
run: scripts/build-native.js
|
||||||
env:
|
|
||||||
ARCH: ${{matrix.arch}}
|
|
||||||
|
|
||||||
- name: Fix cross build
|
|
||||||
run: |
|
|
||||||
rm -rf app/node_modules/cpu-features
|
|
||||||
rm -rf app/node_modules/ssh2/crypto/build
|
|
||||||
if: ${{ matrix.arch == 'arm64' || matrix.arch == 'armv7l' }}
|
|
||||||
|
|
||||||
- name: Webpack
|
- name: Webpack
|
||||||
run: yarn run build
|
run: yarn run build
|
||||||
|
|
||||||
- name: Prepackage plugins
|
- name: Prepackage plugins
|
||||||
run: scripts/prepackage-plugins.js
|
run: scripts/prepackage-plugins.js
|
||||||
env:
|
|
||||||
ARCH: ${{matrix.arch}}
|
|
||||||
|
|
||||||
- name: Build packages
|
- name: Build packages
|
||||||
run: scripts/build-linux.js
|
run: scripts/build-linux.js
|
||||||
env:
|
env:
|
||||||
ARCH: ${{matrix.arch}}
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
USE_HARD_LINKS: false
|
USE_HARD_LINKS: false
|
||||||
# DEBUG: electron-builder,electron-builder:*
|
# DEBUG: electron-builder,electron-builder:*
|
||||||
@ -226,25 +209,25 @@ jobs:
|
|||||||
- uses: actions/upload-artifact@master
|
- uses: actions/upload-artifact@master
|
||||||
name: Upload DEB
|
name: Upload DEB
|
||||||
with:
|
with:
|
||||||
name: Linux DEB (${{matrix.arch}})
|
name: Linux DEB (x86_64)
|
||||||
path: artifact-deb
|
path: artifact-deb
|
||||||
|
|
||||||
- uses: actions/upload-artifact@master
|
- uses: actions/upload-artifact@master
|
||||||
name: Upload RPM
|
name: Upload RPM
|
||||||
with:
|
with:
|
||||||
name: Linux RPM (${{matrix.arch}})
|
name: Linux RPM (x86_64)
|
||||||
path: artifact-rpm
|
path: artifact-rpm
|
||||||
|
|
||||||
- uses: actions/upload-artifact@master
|
- uses: actions/upload-artifact@master
|
||||||
name: Upload Pacman Package
|
name: Upload Pacman Package
|
||||||
with:
|
with:
|
||||||
name: Linux Pacman (${{matrix.arch}})
|
name: Linux Pacman (x86_64)
|
||||||
path: artifact-pacman
|
path: artifact-pacman
|
||||||
|
|
||||||
- uses: actions/upload-artifact@master
|
- uses: actions/upload-artifact@master
|
||||||
name: Upload Linux tarball
|
name: Upload Linux tarball
|
||||||
with:
|
with:
|
||||||
name: Linux tarball (${{matrix.arch}})
|
name: Linux tarball (x86_64)
|
||||||
path: artifact-tar.gz
|
path: artifact-tar.gz
|
||||||
|
|
||||||
- uses: actions/upload-artifact@master
|
- uses: actions/upload-artifact@master
|
||||||
@ -252,7 +235,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: Web tarball
|
name: Web tarball
|
||||||
path: artifact-web
|
path: artifact-web
|
||||||
if: ${{ matrix.arch == 'x86_64' }}
|
|
||||||
|
|
||||||
|
|
||||||
Windows-Build:
|
Windows-Build:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user