feat: moved to gitea workflows for CI/CD
All checks were successful
Build and test Rust binary in release mode / Build and test (push) Successful in 43s
All checks were successful
Build and test Rust binary in release mode / Build and test (push) Successful in 43s
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
This commit is contained in:
parent
56d90b57bf
commit
b3ca342a19
16
.gitea/workflows/build_and_test.yml
Normal file
16
.gitea/workflows/build_and_test.yml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
name: "Build and test Rust binary in release mode"
|
||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: "Build and test"
|
||||||
|
runs-on: rust-bookworm
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
cargo build --release
|
||||||
|
- name: Test
|
||||||
|
run: |
|
||||||
|
cargo test
|
@ -1,15 +0,0 @@
|
|||||||
image: rust:latest
|
|
||||||
|
|
||||||
stages:
|
|
||||||
- build
|
|
||||||
- test
|
|
||||||
|
|
||||||
build:
|
|
||||||
stage: build
|
|
||||||
script:
|
|
||||||
- cargo build --release
|
|
||||||
|
|
||||||
test:
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- cargo test
|
|
Loading…
Reference in New Issue
Block a user