Skip to content

Commit f4a4b59

Browse files
committed
feat: test ci workflow ( visionfive2 )
1 parent c405647 commit f4a4b59

7 files changed

Lines changed: 84 additions & 147 deletions

File tree

.github/config.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"targets": [
3+
"riscv64gc-unknown-none-elf"
4+
],
5+
"rust_components": [
6+
"rust-src",
7+
"clippy",
8+
"rustfmt"
9+
]
10+
}

.github/workflows/check.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Quality Check Workflow
2+
# References shared workflow from axci
3+
4+
name: Check
5+
6+
on:
7+
push:
8+
branches: ['**']
9+
tags-ignore: ['**']
10+
pull_request:
11+
workflow_dispatch:
12+
13+
jobs:
14+
check:
15+
uses: arceos-hypervisor/axci/.github/workflows/check.yml@dev

.github/workflows/deploy.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Deploy Workflow
2+
# References shared workflow from axci
3+
4+
name: Deploy
5+
6+
on:
7+
push:
8+
tags:
9+
- 'v[0-9]+.[0-9]+.[0-9]+'
10+
11+
jobs:
12+
deploy:
13+
uses: arceos-hypervisor/axci/.github/workflows/deploy.yml@dev
14+
with:
15+
verify_branch: true
16+
verify_version: true

.github/workflows/push.yml

Lines changed: 0 additions & 147 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Release Workflow
2+
# References shared workflow from axci
3+
4+
name: Release
5+
6+
on:
7+
push:
8+
tags:
9+
- 'v[0-9]+.[0-9]+.[0-9]+'
10+
- 'v[0-9]+.[0-9]+.[0-9]+-pre.[0-9]+'
11+
12+
jobs:
13+
release:
14+
uses: arceos-hypervisor/axci/.github/workflows/release.yml@dev
15+
with:
16+
verify_branch: true
17+
verify_version: true
18+
secrets:
19+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Integration Test Workflow
2+
# References shared workflow from axci
3+
4+
name: Test
5+
6+
on:
7+
push:
8+
branches:
9+
- '**'
10+
tags-ignore:
11+
- '**'
12+
pull_request:
13+
workflow_dispatch:
14+
15+
jobs:
16+
test:
17+
uses: arceos-hypervisor/axci/.github/workflows/test.yml@dev

rust-toolchain.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[toolchain]
2+
profile = "minimal"
3+
channel = "nightly-2025-05-20"
4+
components = ["rust-src", "llvm-tools", "rustfmt", "clippy"]
5+
targets = [
6+
"riscv64gc-unknown-none-elf",
7+
]

0 commit comments

Comments
 (0)