Compare commits

...

4 Commits

Author SHA1 Message Date
cat
5bcd048bd5 Testing void linux container
All checks were successful
Compile / Compile (push) Successful in 5s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
2026-01-06 21:29:47 +02:00
cat
1cc6aeefd2 Fixing a spelling mistake
All checks were successful
Compile / Compile (push) Successful in 4s
2026-01-06 19:49:34 +02:00
cat
6ed385fb1d Added new feature
Some checks failed
Compile / Compile (push) Failing after 4s
2026-01-06 19:47:42 +02:00
cat
7d8dcd7f1d Added an example program
All checks were successful
Compile / Compile (push) Successful in 5s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
2026-01-06 19:39:20 +02:00
3 changed files with 31 additions and 1 deletions

View 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

View File

@@ -1,5 +1,5 @@
name: Compile
run-name: Compiling the software
run-name: Compiling the software (Ubuntu)
on: [push]
jobs:

8
main.cpp Normal file
View File

@@ -0,0 +1,8 @@
#include <iostream>
int main() {
std::cout << "Hello world" << std::endl;
std::cout << "Second thing\n";
return 0;
}