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

Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
This commit is contained in:
Louis Vallat 2024-09-08 18:00:43 +02:00
parent 56d90b57bf
commit b3ca342a19
Signed by: louis
SSH Key Fingerprint: SHA256:usb9EA8eIADT+Bt0Ne8ZkISCbgPSOYkVgS2iZqdZj8s
2 changed files with 16 additions and 15 deletions

View 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

View File

@ -1,15 +0,0 @@
image: rust:latest
stages:
- build
- test
build:
stage: build
script:
- cargo build --release
test:
stage: test
script:
- cargo test