feat: moved to gitea workflows for CI/CD
All checks were successful
Build Rust binary in release mode / build (push) Successful in 46s
All checks were successful
Build Rust binary in release mode / build (push) Successful in 46s
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
This commit is contained in:
parent
c7da323add
commit
3c790efb28
16
.gitea/workflows/build.yml
Normal file
16
.gitea/workflows/build.yml
Normal file
@ -0,0 +1,16 @@
|
||||
name: "Build Rust binary in release mode"
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: "build"
|
||||
runs-on: rust-bookworm
|
||||
steps:
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y libasound2-dev
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Build binary
|
||||
run: cargo build --release
|
@ -1,13 +0,0 @@
|
||||
default:
|
||||
image: rust
|
||||
|
||||
stages:
|
||||
- build
|
||||
|
||||
before_script:
|
||||
- apt update && apt install -y libasound2-dev
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- cargo build --release
|
Loading…
Reference in New Issue
Block a user