Compare commits

..

No commits in common. "3e4dc1400c595ad8eef49ac27d87d3cd991e1ac1" and "308b56960892f28cc452453f035f67d8432c06e2" have entirely different histories.

4 changed files with 12 additions and 22 deletions

View File

@ -6,13 +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: '6.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,11 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>ci_lab7</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

6
main.c Normal file
View File

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