This commit is contained in:
20
.gitea/workflows/compile-voidlinux.yml
Normal file
20
.gitea/workflows/compile-voidlinux.yml
Normal file
@@ -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 nodejs
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Compile software
|
||||||
|
run: g++ main.cpp -o program
|
||||||
|
- name: Execute program
|
||||||
|
run: ./program
|
||||||
Reference in New Issue
Block a user