Add .gitea/workflows/ci.yml
add CI
This commit is contained in:
parent
24ea13bc00
commit
db4ce26c0c
1 changed files with 22 additions and 0 deletions
22
.gitea/workflows/ci.yml
Normal file
22
.gitea/workflows/ci.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
test-amd64:
|
||||
runs-on: [ubuntu-24.04, amd64-builder]
|
||||
steps:
|
||||
- name: Install rustup
|
||||
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
- name: Build
|
||||
run: cargo build
|
||||
|
||||
test-arm64:
|
||||
runs-on: [ubuntu-24.04, arm64-builder]
|
||||
steps:
|
||||
- name: Install rustup
|
||||
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
name: Build
|
||||
run: cargo build
|
||||
Loading…
Add table
Add a link
Reference in a new issue