-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #300 from Tlntin/release
support aarch64 for linux
- Loading branch information
Showing
3 changed files
with
47 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -75,3 +75,40 @@ jobs: | |
run: | | ||
curl -L https://github.com/probonopd/uploadtool/raw/master/upload.sh --output upload.sh | ||
bash upload.sh output/*/*.* | ||
aarch64-linux: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: uraimo/[email protected] | ||
name: build native modules using another arch | ||
with: | ||
arch: aarch64 | ||
distro: ubuntu20.04 | ||
githubToken: ${{ github.token }} | ||
dockerRunArgs: | | ||
--volume "${PWD}:/build" | ||
--volume "/home/runner:/home/runner" | ||
install: | | ||
apt-get update && apt-get install -y gnupg2 && apt-get install curl -y | ||
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - | ||
apt-get install -y nodejs gcc g++ make | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
source "$HOME/.cargo/env" | ||
apt-get install -y libwebkit2gtk-4.0-dev build-essential wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev gnome-video-effects gnome-video-effects-extra | ||
corepack enable | ||
run: | | ||
uname -a | ||
chmod -R 777 /build | ||
npm install | ||
source "$HOME/.cargo/env" | ||
export RUST_BACKTRACE=1 | ||
npm run build:all-unix | ||
- name: Upload files | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
UPLOADTOOL_ISPRERELEASE: true | ||
run: | | ||
curl -L https://github.com/probonopd/uploadtool/raw/master/upload.sh --output upload.sh | ||
bash upload.sh output/*/*.* |
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 |
---|---|---|
@@ -1,2 +1,12 @@ | ||
name(Linux),name(Mac/Windows),name_zh,url | ||
twitter,Twitter,推特,https://twitter.com/ | ||
youtube,YouTube,YouTube,https://youtube.com | ||
reference,Reference,Reference,https://wangchujiang.com/reference/index.html | ||
code,Code,Code,https://riju.codes/ | ||
yuque,YuQue,语雀,https://www.yuque.com/ | ||
chatgpt,ChatGPT,ChatGPT,https://chat.openai.com/chat | ||
flomo,Flomo,浮墨,https://v.flomoapp.com/mine | ||
qwerty,Qwerty,Qwerty,https://qwerty.kaiyi.cool/ | ||
zlibrary,ZLibrary,ZLibrary,https://x.zeuslib.com | ||
lizhi,LiZhi,李志,https://lizhi.turkyden.com/?from=pake | ||
weread,WeRead,微信阅读,https://weread.qq.com/ |