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: