-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
706 additions
and
1,046 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,9 +37,15 @@ jobs: | |
matrix: | ||
include: | ||
- arch: x86_64 | ||
rust_triple: x86_64-apple-darwin | ||
- arch: arm64 | ||
rust_triple: aarch64-apple-darwin | ||
fail-fast: false | ||
|
||
env: | ||
ARCH: ${{matrix.arch}} | ||
RUST_TARGET_TRIPLE: ${{matrix.rust_triple}} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
@@ -51,6 +57,8 @@ jobs: | |
with: | ||
node-version: 18 | ||
|
||
- run: rustup target add ${{matrix.rust_triple}} | ||
|
||
- name: Install deps | ||
run: | | ||
sudo -H pip3 install setuptools | ||
|
@@ -59,12 +67,6 @@ jobs: | |
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' | ||
|
||
- name: Webpack | ||
run: yarn run build | ||
|
||
|
@@ -136,18 +138,24 @@ jobs: | |
include: | ||
- build-arch: x64 | ||
arch: amd64 | ||
rust_triple: x86_64-unknown-linux-gnu | ||
- build-arch: arm64 | ||
arch: arm64 | ||
rust_triple: aarch64-unknown-linux-gnu | ||
triplet: aarch64-linux-gnu- | ||
- build-arch: arm | ||
arch: armhf | ||
rust_triple: arm-unknown-linux-gnueabihf | ||
triplet: arm-linux-gnueabihf- | ||
fail-fast: false | ||
|
||
env: | ||
CC: ${{matrix.triplet}}gcc | ||
CXX: ${{matrix.triplet}}g++ | ||
ARCH: ${{matrix.build-arch}} | ||
npm_config_arch: ${{matrix.build-arch}} | ||
npm_config_target_arch: ${{matrix.build-arch}} | ||
RUST_TARGET_TRIPLE: ${{matrix.rust_triple}} | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -160,6 +168,8 @@ jobs: | |
with: | ||
node-version: 18 | ||
|
||
- run: rustup target add ${{matrix.rust_triple}} | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
|
@@ -280,17 +290,22 @@ jobs: | |
path: tabby-web.tar.gz | ||
if: matrix.build-arch == 'x64' | ||
|
||
|
||
Windows-Build: | ||
runs-on: windows-2022 | ||
runs-on: windows-latest | ||
needs: Lint | ||
strategy: | ||
matrix: | ||
include: | ||
- arch: x64 | ||
rust_triple: x86_64-pc-windows-msvc | ||
- arch: arm64 | ||
rust_triple: aarch64-pc-windows-msvc | ||
fail-fast: false | ||
|
||
env: | ||
RUST_TARGET_TRIPLE: ${{matrix.rust_triple}} | ||
ARCH: ${{matrix.arch}} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
@@ -302,6 +317,14 @@ jobs: | |
with: | ||
node-version: 18 | ||
|
||
- run: npm i -g npx | ||
- run: rustup target add ${{matrix.rust_triple}} | ||
|
||
- name: Update node-gyp | ||
run: | | ||
npm install --global [email protected] | ||
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"} | ||
- name: Build | ||
shell: powershell | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,6 @@ docs/api | |
sentry.properties | ||
sentry-symbols.js | ||
|
||
tabby-ssh/util/pagent.exe | ||
*.psd | ||
|
||
crowdin.yml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,11 @@ | |
wrap-ansi "^8.1.0" | ||
wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" | ||
|
||
"@napi-rs/cli@^2.18.3": | ||
version "2.18.4" | ||
resolved "https://registry.yarnpkg.com/@napi-rs/cli/-/cli-2.18.4.tgz#12bebfb7995902fa7ab43cc0b155a7f5a2caa873" | ||
integrity sha512-SgJeA4df9DE2iAEpr3M2H0OKl/yjtg1BnRI5/JyowS71tUWhrfSu2LT0V3vlHET+g1hBVlrO60PmEXwUEKp8Mg== | ||
|
||
"@ngx-translate/core@^14.0.0": | ||
version "14.0.0" | ||
resolved "https://registry.yarnpkg.com/@ngx-translate/core/-/core-14.0.0.tgz#af421d0e1a28376843f0fed375cd2fae7630a5ff" | ||
|
@@ -1490,25 +1495,26 @@ [email protected]: | |
x11 "^2.3.0" | ||
|
||
glob@^10.2.2, glob@^10.3.10: | ||
version "10.3.10" | ||
resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.10.tgz#0351ebb809fd187fe421ab96af83d3a70715df4b" | ||
integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g== | ||
version "10.4.5" | ||
resolved "https://registry.yarnpkg.com/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956" | ||
integrity sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg== | ||
dependencies: | ||
foreground-child "^3.1.0" | ||
jackspeak "^2.3.5" | ||
minimatch "^9.0.1" | ||
minipass "^5.0.0 || ^6.0.2 || ^7.0.0" | ||
path-scurry "^1.10.1" | ||
jackspeak "^3.1.2" | ||
minimatch "^9.0.4" | ||
minipass "^7.1.2" | ||
package-json-from-dist "^1.0.0" | ||
path-scurry "^1.11.1" | ||
|
||
glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: | ||
version "7.1.6" | ||
resolved "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz" | ||
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== | ||
version "7.2.3" | ||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" | ||
integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== | ||
dependencies: | ||
fs.realpath "^1.0.0" | ||
inflight "^1.0.4" | ||
inherits "2" | ||
minimatch "^3.0.4" | ||
minimatch "^3.1.1" | ||
once "^1.3.0" | ||
path-is-absolute "^1.0.0" | ||
|
||
|
@@ -1931,10 +1937,10 @@ isstream@~0.1.2: | |
resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz" | ||
integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= | ||
|
||
jackspeak@^2.3.5: | ||
version "2.3.6" | ||
resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.3.6.tgz#647ecc472238aee4b06ac0e461acc21a8c505ca8" | ||
integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== | ||
jackspeak@^3.1.2: | ||
version "3.4.3" | ||
resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.3.tgz#8833a9d89ab4acde6188942bd1c53b6390ed5a8a" | ||
integrity sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw== | ||
dependencies: | ||
"@isaacs/cliui" "^8.0.2" | ||
optionalDependencies: | ||
|
@@ -2286,13 +2292,18 @@ lowercase-keys@^1.0.0: | |
resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" | ||
integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== | ||
|
||
lru-cache@^10.0.1, "lru-cache@^9.1.1 || ^10.0.0": | ||
lru-cache@^10.0.1: | ||
version "10.0.2" | ||
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.0.2.tgz#34504678cc3266b09b8dfd6fab4e1515258271b7" | ||
integrity sha512-Yj9mA8fPiVgOUpByoTZO5pNrcl5Yk37FcSHsUINpAsaBIEZIuqcCclDZJCVxqQShDsmYX8QG63svJiTbOATZwg== | ||
dependencies: | ||
semver "^7.3.5" | ||
|
||
lru-cache@^10.2.0: | ||
version "10.4.3" | ||
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" | ||
integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== | ||
|
||
lru-cache@^4.0.1: | ||
version "4.1.5" | ||
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" | ||
|
@@ -2412,10 +2423,17 @@ minimatch@^3.0.4: | |
dependencies: | ||
brace-expansion "^1.1.7" | ||
|
||
minimatch@^9.0.1: | ||
version "9.0.3" | ||
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" | ||
integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== | ||
minimatch@^3.1.1: | ||
version "3.1.2" | ||
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" | ||
integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== | ||
dependencies: | ||
brace-expansion "^1.1.7" | ||
|
||
minimatch@^9.0.4: | ||
version "9.0.5" | ||
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" | ||
integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== | ||
dependencies: | ||
brace-expansion "^2.0.1" | ||
|
||
|
@@ -2488,6 +2506,11 @@ minipass@^5.0.0: | |
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c" | ||
integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== | ||
|
||
minipass@^7.1.2: | ||
version "7.1.2" | ||
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" | ||
integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== | ||
|
||
minizlib@^1.3.3: | ||
version "1.3.3" | ||
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" | ||
|
@@ -2640,6 +2663,11 @@ node-addon-api@^4.0.0, node-addon-api@^4.3.0: | |
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-4.3.0.tgz#52a1a0b475193e0928e98e0426a0d1254782b77f" | ||
integrity sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ== | ||
|
||
node-addon-api@^7.1.0: | ||
version "7.1.1" | ||
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.1.1.tgz#1aba6693b0f255258a049d621329329322aad558" | ||
integrity sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ== | ||
|
||
node-fetch-npm@^2.0.2: | ||
version "2.0.4" | ||
resolved "https://registry.yarnpkg.com/node-fetch-npm/-/node-fetch-npm-2.0.4.tgz#6507d0e17a9ec0be3bec516958a497cec54bf5a4" | ||
|
@@ -2670,12 +2698,12 @@ node-gyp@^10.0.0, node-gyp@^5.0.2, node-gyp@^5.1.0: | |
tar "^6.1.2" | ||
which "^4.0.0" | ||
|
||
node-pty@^1.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-1.0.0.tgz#7daafc0aca1c4ca3de15c61330373af4af5861fd" | ||
integrity sha512-wtBMWWS7dFZm/VgqElrTvtfMq4GzJ6+edFI0Y0zyzygUSZMgZdraDUMUhCIvkjhJjme15qWmbyJbtAx4ot4uZA== | ||
node-pty@^1.1.0-beta.14: | ||
version "1.1.0-beta9" | ||
resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-1.1.0-beta9.tgz#ed643cb3b398d031b4e31c216e8f3b0042435f1d" | ||
integrity sha512-/Ue38pvXJdgRZ3+me1FgfglLd301GhJN0NStiotdt61tm43N5htUyR/IXOUzOKuNaFmCwIhy6nwb77Ky41LMbw== | ||
dependencies: | ||
nan "^2.17.0" | ||
node-addon-api "^7.1.0" | ||
|
||
nopt@^4.0.3: | ||
version "4.0.3" | ||
|
@@ -3097,6 +3125,11 @@ p-try@^2.0.0: | |
resolved "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz" | ||
integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== | ||
|
||
package-json-from-dist@^1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz#e501cd3094b278495eb4258d4c9f6d5ac3019f00" | ||
integrity sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw== | ||
|
||
package-json@^4.0.0: | ||
version "4.0.1" | ||
resolved "https://registry.yarnpkg.com/package-json/-/package-json-4.0.1.tgz#8869a0401253661c4c4ca3da6c2121ed555f5eed" | ||
|
@@ -3209,12 +3242,12 @@ path-parse@^1.0.6: | |
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" | ||
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== | ||
|
||
path-scurry@^1.10.1: | ||
version "1.10.1" | ||
resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.1.tgz#9ba6bf5aa8500fe9fd67df4f0d9483b2b0bfc698" | ||
integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ== | ||
path-scurry@^1.11.1: | ||
version "1.11.1" | ||
resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2" | ||
integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== | ||
dependencies: | ||
lru-cache "^9.1.1 || ^10.0.0" | ||
lru-cache "^10.2.0" | ||
minipass "^5.0.0 || ^6.0.2 || ^7.0.0" | ||
|
||
path-type@^2.0.0: | ||
|
@@ -3603,6 +3636,13 @@ run-queue@^1.0.0, run-queue@^1.0.3: | |
dependencies: | ||
aproba "^1.1.1" | ||
|
||
[email protected]: | ||
version "0.0.3" | ||
resolved "https://registry.yarnpkg.com/russh/-/russh-0.0.3.tgz#bcb53d2efbe2b216857171bc5ca2131001ddfa46" | ||
integrity sha512-iTW4M5W856zYjbjQYjlDFaSFSQ6pLBy+zsCYFwhivYuj8U5mZ7kF7TeGOUat9t4l25HVxAS36ivCt5l79p9lcQ== | ||
dependencies: | ||
"@napi-rs/cli" "^2.18.3" | ||
|
||
rxjs@^7.5.2, rxjs@^7.5.7: | ||
version "7.5.7" | ||
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.7.tgz#2ec0d57fdc89ece220d2e702730ae8f1e49def39" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.