test: add .gitea/workflows/test-ci.yml
This commit is contained in:
parent
0af85cf0ff
commit
c453644090
2 changed files with 48 additions and 0 deletions
47
.gitea/workflows/test-ci.yml
Normal file
47
.gitea/workflows/test-ci.yml
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
name: test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test-amd64:
|
||||
runs-on: [rust-latest, amd64-builder]
|
||||
steps:
|
||||
- name: System Info
|
||||
run: uname -m
|
||||
|
||||
- name: Setup
|
||||
run: |
|
||||
apt update -y
|
||||
apt install -y curl gnupg
|
||||
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
||||
apt install -y nodejs
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Clippy
|
||||
run: |
|
||||
rustup component add clippy
|
||||
cargo clippy
|
||||
|
||||
test-arm64:
|
||||
runs-on: [rust-latest, arm64-builder]
|
||||
steps:
|
||||
- name: System Info
|
||||
run: uname -m
|
||||
|
||||
- name: Setup
|
||||
run: |
|
||||
apt update -y
|
||||
apt install -y curl gnupg
|
||||
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
||||
apt install -y nodejs
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Clippy
|
||||
run: |
|
||||
rustup component add clippy
|
||||
cargo clippy
|
||||
1
test.md
Normal file
1
test.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
Hello World
|
||||
Loading…
Add table
Add a link
Reference in a new issue