From b3ca342a192ba03c3429eacc15ea451cf2c95e32 Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Sun, 8 Sep 2024 18:00:43 +0200 Subject: [PATCH] feat: moved to gitea workflows for CI/CD Signed-off-by: Louis Vallat --- .gitea/workflows/build_and_test.yml | 16 ++++++++++++++++ .gitlab-ci.yml | 15 --------------- 2 files changed, 16 insertions(+), 15 deletions(-) create mode 100644 .gitea/workflows/build_and_test.yml delete mode 100644 .gitlab-ci.yml diff --git a/.gitea/workflows/build_and_test.yml b/.gitea/workflows/build_and_test.yml new file mode 100644 index 0000000..fc28f31 --- /dev/null +++ b/.gitea/workflows/build_and_test.yml @@ -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 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 964d944..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,15 +0,0 @@ -image: rust:latest - -stages: - - build - - test - -build: - stage: build - script: - - cargo build --release - -test: - stage: test - script: - - cargo test