Compare commits

..

No commits in common. "cc89eae951d84b88b358969ad5390b03356d09b1" and "0c9c3ed32e744c8d9a2c8c3a6152e46e08a84782" have entirely different histories.

4 changed files with 13 additions and 20 deletions

View File

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

View File

@ -1,2 +0,0 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");

View File

@ -1,10 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

7
main.c Normal file
View File

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