From da71e6990af3e7c29dfa5d600d3d3e1a1ddcb350 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Fri, 3 Jan 2025 23:16:57 +0000 Subject: [PATCH] added test action --- .forgejo/workflows/build_linux.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/build_linux.yaml b/.forgejo/workflows/build_linux.yaml index c13ca22..32456ee 100644 --- a/.forgejo/workflows/build_linux.yaml +++ b/.forgejo/workflows/build_linux.yaml @@ -1,10 +1,19 @@ name: Build for Linux - +env: + BUILD_DEPS: git nim nimble on: [push] jobs: test-build: runs-on: docker steps: - - name: Checkouter - uses: pswilde/norgbackup + - name: Install Dependencies + run: | + apt update && apt install --yes $BUILD_DEPS + - name: Clone repo + run: | + git clone ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} + - name: Build + run: | + cd app + nimble build --release