diff --git a/.gitea/workflows/compile-voidlinux.yml b/.gitea/workflows/compile-voidlinux.yml new file mode 100644 index 0000000..68c04b7 --- /dev/null +++ b/.gitea/workflows/compile-voidlinux.yml @@ -0,0 +1,20 @@ +name: Compile +run-name: Compiling the software +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 + - name: Checkout repository + uses: actions/checkout@v3 + - name: Compile software + run: g++ main.cpp -o program + - name: Execute program + run: ./program