Compare commits

...

2 Commits

Author SHA1 Message Date
rafals123
459e29b97d Modify ci.yml file
All checks were successful
First CI / build (push) Successful in 46s
2024-11-25 10:45:32 +01:00
rafals123
00e301c5cf Delete main.c file 2024-11-25 10:45:19 +01:00
2 changed files with 8 additions and 12 deletions

View File

@ -6,10 +6,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: build using gcc - uses: actions/setup-dotnet@v3
run: gcc -Wall -Werror main.c -o program
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with: with:
name: program dotnet-version: '8.0.x'
path: program - run: dotnet restore
- run: dotnet build
test:
steps:
- name: trying to run
run: dotnet run

6
main.c
View File

@ -1,6 +0,0 @@
#include <stdio.h>
int main()
{
printf("Halo, Welt!");
return 0;
}