Compare commits

..

3 Commits

Author SHA1 Message Date
cat
aa4a050058 test
Some checks failed
Compile / Compile (push) Failing after 3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
2026-01-06 19:32:27 +02:00
cat
a6cd50396c Added test program
Some checks failed
Compile / Compile (push) Failing after 1s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
2026-01-06 18:33:19 +02:00
cat
663ce0d082 Added workflow examples
Some checks failed
Compile / Compile (push) Failing after 26s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 10s
2026-01-06 17:05:50 +02:00
3 changed files with 8 additions and 27 deletions

View File

@@ -1,22 +0,0 @@
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,16 +1,20 @@
name: Compile
run-name: Compiling the software (Ubuntu)
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: Checkout repository
uses: actions/checkout@v3
- run: uname -a
- name: Compile software
run: g++ main.cpp -o program
run: g++ -std=c++23 main.cpp -o program
- name: Execute program
run: ./program

View File

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