From 3c790efb2836bdd45a7802da9463975e5a68cdf7 Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Sun, 8 Sep 2024 13:46:04 +0200 Subject: [PATCH] feat: moved to gitea workflows for CI/CD Signed-off-by: Louis Vallat --- .gitea/workflows/build.yml | 16 ++++++++++++++++ .gitlab-ci.yml | 13 ------------- 2 files changed, 16 insertions(+), 13 deletions(-) create mode 100644 .gitea/workflows/build.yml delete mode 100644 .gitlab-ci.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..52918e7 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -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 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 88c809c..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -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