From 1d4c921fe4f4d28788d2a04c792c0689b680fccc Mon Sep 17 00:00:00 2001 From: Rawleenc Date: Fri, 2 May 2025 14:33:15 +0200 Subject: [PATCH] ci: add base CI --- .gitea/workflows/main.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .gitea/workflows/main.yaml diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml new file mode 100644 index 0000000..d4f1238 --- /dev/null +++ b/.gitea/workflows/main.yaml @@ -0,0 +1,30 @@ +name: build and upload + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: [ubuntu-latest] + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Rust + uses: actions-rust-lang/setup-rust-toolchain@v1 + + - name: Build + run: make + + - name: Upload + uses: christopherhx/gitea-upload-artifact@v4 + with: + name: feddy + path: | + target/release/feddy + completions.* \ No newline at end of file