From 812284df38d98401a8e768de6ae62be7fd3ed596 Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+Sporqist@users.noreply.github.com> Date: Tue, 18 Jul 2023 15:42:31 +0200 Subject: [PATCH] [CI] Test in a more controlled setting --- .gitea/workflows/test.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/test.yml diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml new file mode 100644 index 0000000..8eb18b8 --- /dev/null +++ b/.gitea/workflows/test.yml @@ -0,0 +1,29 @@ +on: [push, pull_request, workflow_dispatch] + +name: Test + +jobs: + build: + runs-on: ubuntu-latest + container: + image: zmkfirmware/zmk-build-arm:stable + name: Build + steps: + - name: Install Dependencies + run: | + apt-get update; + apt-get install --yes --no-install-recommends \ + nodejs \ + ca-certificates + + - name: Checkout + uses: actions/checkout@v3 + + - name: Create some File + run: echo "lalala" > test.txt + + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + path: test.txt + if-no-files-found: ignore