From 42148a71b5339fd8e93fe8a31f6f93ab8888c668 Mon Sep 17 00:00:00 2001 From: cat Date: Tue, 6 Jan 2026 21:20:10 +0200 Subject: [PATCH] Testing void linux container --- .gitea/workflows/compile-voidlinux.yml | 22 ++++++++++++++++++++++ .gitea/workflows/compile.yml | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/compile-voidlinux.yml diff --git a/.gitea/workflows/compile-voidlinux.yml b/.gitea/workflows/compile-voidlinux.yml new file mode 100644 index 0000000..075235d --- /dev/null +++ b/.gitea/workflows/compile-voidlinux.yml @@ -0,0 +1,22 @@ +name: Compile +run-name: Compiling the software (Void Linux) +on: [push] + +jobs: + Compile: + runs-on: ubuntu-latest + container: + image: ghcr.io/void-linux/void-glibc-full:20260101r1 + steps: + - name: Install dependencies + run: | + xbps-install -Syu + xbps-install -y gcc git make nodejs + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Compile software + run: g++ main.cpp -o program + + - name: Execute program + run: ./program diff --git a/.gitea/workflows/compile.yml b/.gitea/workflows/compile.yml index 83b0a3f..1b6172e 100644 --- a/.gitea/workflows/compile.yml +++ b/.gitea/workflows/compile.yml @@ -1,5 +1,5 @@ name: Compile -run-name: Compiling the software +run-name: Compiling the software (Ubuntu) on: [push] jobs: