This commit is contained in:
22
.gitea/workflows/compile-voidlinux.yml
Normal file
22
.gitea/workflows/compile-voidlinux.yml
Normal file
@@ -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
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
name: Compile
|
name: Compile
|
||||||
run-name: Compiling the software
|
run-name: Compiling the software (Ubuntu)
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
Reference in New Issue
Block a user