chore: rm aarch64 ci
This commit is contained in:
parent
c2e5c7cf38
commit
ec94218a4b
22
.github/workflows/alpha.yml
vendored
22
.github/workflows/alpha.yml
vendored
@ -42,11 +42,6 @@ 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)"
|
||||||
@ -81,23 +76,6 @@ 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 aarch64-pc-windows-msvc
|
|
||||||
|
|
||||||
# - name: Portable Bundle
|
# - name: Portable Bundle
|
||||||
# if: matrix.os == 'windows-latest'
|
# if: matrix.os == 'windows-latest'
|
||||||
# run: |
|
# run: |
|
||||||
|
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
@ -42,11 +42,6 @@ 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)"
|
||||||
@ -80,23 +75,6 @@ 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 aarch64-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
|
||||||
|
28
.github/workflows/test.yml
vendored
28
.github/workflows/test.yml
vendored
@ -40,10 +40,10 @@ jobs:
|
|||||||
profile: minimal
|
profile: minimal
|
||||||
override: true
|
override: true
|
||||||
|
|
||||||
# - name: Rust Cache
|
- name: Rust Cache
|
||||||
# uses: Swatinem/rust-cache@v1
|
uses: Swatinem/rust-cache@v1
|
||||||
# with:
|
with:
|
||||||
# working-directory: src-tauri
|
working-directory: src-tauri
|
||||||
|
|
||||||
- name: Install Node
|
- name: Install Node
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
@ -55,14 +55,6 @@ 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(github.event.inputs.os, 'windows-')
|
|
||||||
run: |
|
|
||||||
rustup target add aarch64-pc-windows-msvc
|
|
||||||
rustup target list
|
|
||||||
|
|
||||||
rm ./src-tauri/Cargo.lock
|
|
||||||
|
|
||||||
- name: Get yarn cache dir path
|
- name: Get yarn cache dir path
|
||||||
id: yarn-cache-dir-path
|
id: yarn-cache-dir-path
|
||||||
@ -82,19 +74,9 @@ jobs:
|
|||||||
yarn install --network-timeout 1000000
|
yarn install --network-timeout 1000000
|
||||||
yarn run check
|
yarn run check
|
||||||
|
|
||||||
# - name: Tauri build
|
- name: Tauri build
|
||||||
# uses: tauri-apps/tauri-action@0e558392ccadcb49bcc89e7df15a400e8f0c954d
|
|
||||||
# env:
|
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
# TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
|
||||||
# TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
|
||||||
|
|
||||||
- name: Tauri build arm64 (windows only)
|
|
||||||
if: startsWith(github.event.inputs.os, 'windows-')
|
|
||||||
uses: tauri-apps/tauri-action@0e558392ccadcb49bcc89e7df15a400e8f0c954d
|
uses: tauri-apps/tauri-action@0e558392ccadcb49bcc89e7df15a400e8f0c954d
|
||||||
env:
|
env:
|
||||||
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 }}
|
||||||
with:
|
|
||||||
args: --target aarch64-pc-windows-msvc
|
|
||||||
|
Loading…
Reference in New Issue
Block a user