diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 891c36f..3b1b140 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -4,5 +4,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Printing hello - run: echo "Hello, " \ No newline at end of file + - uses: actions/checkout@v4 + - name: build using gcc + run: gcc -Wall -Werror main.c + \ No newline at end of file diff --git a/.gitea/workflows/main.c b/.gitea/workflows/main.c new file mode 100644 index 0000000..9d4cadb --- /dev/null +++ b/.gitea/workflows/main.c @@ -0,0 +1,7 @@ +#include stdio.h +using namespace std; +int main() +{ + printf("Halo, Welt!"); + return 0; +} \ No newline at end of file