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
2 changed files with 7 additions and 3 deletions

View File

@@ -5,12 +5,16 @@ on: [push]
jobs: jobs:
Compile: Compile:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: 'ghcr.io/void-linux/void-glibc-full:20260101r1'
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- run: uname -a
- name: Compile software - name: Compile software
run: g++ main.cpp -o program run: g++ -std=c++23 main.cpp -o program
- name: Execute program - name: Execute program
run: ./program run: ./program

View File

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