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 46 additions and 0 deletions

View 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: Checkout repository
uses: actions/checkout@v3
- run: uname -a
- name: Compile software
run: g++ -std=c++23 main.cpp -o program
- name: Execute program
run: ./program

19
.gitea/workflows/demo.yml Normal file
View File

@@ -0,0 +1,19 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."

7
main.cpp Normal file
View File

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