From 25c93d03fa1f3b95fe068decab1e3fcfad4354c8 Mon Sep 17 00:00:00 2001 From: Jali Date: Tue, 12 May 2026 13:17:55 +0200 Subject: [PATCH] Add build pipeline --- .gitea/workflows/pipeline.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitea/workflows/pipeline.yaml diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml new file mode 100644 index 0000000..52a8a8f --- /dev/null +++ b/.gitea/workflows/pipeline.yaml @@ -0,0 +1,27 @@ +name: Build Hello World +run-name: ${{ gitea-actor }} is building "Hello, World!" +on: + push: + branches: + - 'main' + +jobs: + Build: + runs-on: archlinux-2026-amd64 + steps: + - name: Checking out the respository + uses: actions/checkout@v6 + - name: Building the executeable + run: | + mkdir -p build + cd build + dmd ../src/hello.d + cd .. + - name: Copy Release artifacts + uses: akkuman/gitea-release-action + with: + files: |- + build/hello + name: Release ${{ gitea.run-number }}.${{ gitea.run_attempt }} + tag_name: Release_${{ gitea.run-number }}.${{ gitea.run_attempt }} +