Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Clash Verge
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Clash Verge
Commits
a9d6167a
There was an error fetching the commit references. Please try again later.
Unverified
Commit
a9d6167a
authored
2 years ago
by
Particle_G
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
chore: add support for windows arm64, close #216 (#209)
parent
6c6b4054
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/alpha.yml
+22
-0
22 additions, 0 deletions
.github/workflows/alpha.yml
.github/workflows/ci.yml
+22
-0
22 additions, 0 deletions
.github/workflows/ci.yml
.github/workflows/test.yml
+17
-0
17 additions, 0 deletions
.github/workflows/test.yml
with
61 additions
and
0 deletions
.github/workflows/alpha.yml
+
22
−
0
View file @
a9d6167a
...
@@ -42,6 +42,11 @@ jobs:
...
@@ -42,6 +42,11 @@ jobs:
sudo apt-get update
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libappindicator3-dev librsvg2-dev libayatana-appindicator3-dev
sudo apt-get install -y libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libappindicator3-dev librsvg2-dev libayatana-appindicator3-dev
-
name
:
Install ARM64 toolchain (windows only)
if
:
startsWith(matrix.os, 'windows-')
run
:
|
rustup target add aarch64-pc-windows-msvc
-
name
:
Get yarn cache dir path
-
name
:
Get yarn cache dir path
id
:
yarn-cache-dir-path
id
:
yarn-cache-dir-path
run
:
echo "::set-output name=dir::$(yarn cache dir)"
run
:
echo "::set-output name=dir::$(yarn cache dir)"
...
@@ -76,6 +81,23 @@ jobs:
...
@@ -76,6 +81,23 @@ jobs:
releaseDraft
:
true
releaseDraft
:
true
prerelease
:
true
prerelease
:
true
-
name
:
Tauri build arm64 (windows only)
if
:
startsWith(matrix.os, 'windows-')
uses
:
tauri-apps/tauri-action@0e558392ccadcb49bcc89e7df15a400e8f0c954d
# enable cache even though failed
# continue-on-error: true
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY
:
${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD
:
${{ secrets.TAURI_KEY_PASSWORD }}
with
:
tagName
:
alpha
releaseName
:
"
Clash
Verge
Alpha"
releaseBody
:
"
Alpha
Version"
releaseDraft
:
true
prerelease
:
true
args
:
--target aarc64-pc-windows-msvc
# - name: Portable Bundle
# - name: Portable Bundle
# if: matrix.os == 'windows-latest'
# if: matrix.os == 'windows-latest'
# run: |
# run: |
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/ci.yml
+
22
−
0
View file @
a9d6167a
...
@@ -42,6 +42,11 @@ jobs:
...
@@ -42,6 +42,11 @@ jobs:
sudo apt-get update
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libappindicator3-dev librsvg2-dev libayatana-appindicator3-dev
sudo apt-get install -y libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libappindicator3-dev librsvg2-dev libayatana-appindicator3-dev
-
name
:
Install ARM64 toolchain (windows only)
if
:
startsWith(matrix.os, 'windows-')
run
:
|
rustup target add aarch64-pc-windows-msvc
-
name
:
Get yarn cache dir path
-
name
:
Get yarn cache dir path
id
:
yarn-cache-dir-path
id
:
yarn-cache-dir-path
run
:
echo "::set-output name=dir::$(yarn cache dir)"
run
:
echo "::set-output name=dir::$(yarn cache dir)"
...
@@ -75,6 +80,23 @@ jobs:
...
@@ -75,6 +80,23 @@ jobs:
releaseDraft
:
false
releaseDraft
:
false
prerelease
:
true
prerelease
:
true
-
name
:
Tauri build arm64 (windows only)
if
:
startsWith(matrix.os, 'windows-')
uses
:
tauri-apps/tauri-action@0e558392ccadcb49bcc89e7df15a400e8f0c954d
# enable cache even though failed
# continue-on-error: true
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY
:
${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD
:
${{ secrets.TAURI_KEY_PASSWORD }}
with
:
tagName
:
v__VERSION__
releaseName
:
"
Clash
Verge
v__VERSION__"
releaseBody
:
"
More
new
features
are
now
supported."
releaseDraft
:
false
prerelease
:
true
args
:
--target aarc64-pc-windows-msvc
-
name
:
Portable Bundle
-
name
:
Portable Bundle
if
:
matrix.os == 'windows-latest'
if
:
matrix.os == 'windows-latest'
# rebuild with env settings
# rebuild with env settings
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/test.yml
+
17
−
0
View file @
a9d6167a
...
@@ -55,6 +55,11 @@ jobs:
...
@@ -55,6 +55,11 @@ jobs:
run
:
|
run
:
|
sudo apt-get update
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libappindicator3-dev librsvg2-dev libayatana-appindicator3-dev
sudo apt-get install -y libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libappindicator3-dev librsvg2-dev libayatana-appindicator3-dev
-
name
:
Install ARM64 toolchain (windows only)
if
:
startsWith(matrix.os, 'windows-')
run
:
|
rustup target add aarch64-pc-windows-msvc
-
name
:
Get yarn cache dir path
-
name
:
Get yarn cache dir path
id
:
yarn-cache-dir-path
id
:
yarn-cache-dir-path
...
@@ -80,3 +85,15 @@ jobs:
...
@@ -80,3 +85,15 @@ jobs:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY
:
${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_PRIVATE_KEY
:
${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD
:
${{ secrets.TAURI_KEY_PASSWORD }}
TAURI_KEY_PASSWORD
:
${{ secrets.TAURI_KEY_PASSWORD }}
-
name
:
Tauri build arm64 (windows only)
if
:
startsWith(matrix.os, 'windows-')
uses
:
tauri-apps/tauri-action@0e558392ccadcb49bcc89e7df15a400e8f0c954d
# enable cache even though failed
# continue-on-error: true
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY
:
${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD
:
${{ secrets.TAURI_KEY_PASSWORD }}
with
:
args
:
--target aarc64-pc-windows-msvc
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment