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
591add6e
There was an error fetching the commit references. Please try again later.
Unverified
Commit
591add6e
authored
2 years ago
by
GyDi
Browse files
Options
Downloads
Patches
Plain Diff
chore: test ci
parent
b99fff66
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/test.yml
+63
-0
63 additions, 0 deletions
.github/workflows/test.yml
with
63 additions
and
0 deletions
.github/workflows/test.yml
0 → 100644
+
63
−
0
View file @
591add6e
name
:
Test CI
on
:
workflow_dispatch
env
:
CARGO_INCREMENTAL
:
0
RUST_BACKTRACE
:
short
jobs
:
release
:
strategy
:
matrix
:
os
:
[
windows-latest
,
ubuntu-latest
,
macos-latest
]
runs-on
:
${{ matrix.os }}
if
:
startsWith(github.repository, 'zzzgydi')
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v2
-
name
:
Install Rust
uses
:
actions-rs/toolchain@v1
with
:
toolchain
:
stable
profile
:
minimal
override
:
true
-
name
:
Install Node
uses
:
actions/setup-node@v1
with
:
node-version
:
14
-
name
:
Install Dependencies (ubuntu only)
if
:
matrix.os == 'ubuntu-latest'
run
:
|
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
-
name
:
Get yarn cache dir path
id
:
yarn-cache-dir-path
run
:
echo "::set-output name=dir::$(yarn cache dir)"
-
name
:
Yarn Cache
uses
:
actions/cache@v2
id
:
yarn-cache
with
:
path
:
${{ steps.yarn-cache-dir-path.outputs.dir }}
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys
:
|
${{ runner.os }}-yarn-
-
name
:
Yarn install and check
run
:
|
yarn install --network-timeout 1000000
yarn run check
-
name
:
Tauri build
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 }}
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