diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index ac9a576..0ffdfca 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -5,10 +5,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Build using gcc - run: gcc -Wall -Werror main.c -o program - - name: Archive production artifacts - uses: actions/upload-artifact@v3 + - uses: actions/setup-dotnet@v3 with: - name: program - path: program + dotnet-version: '6.0.x' + - run: dotnet restore + - run: dotnet build + test: + steps: + - name: trying to run + run: dotnet run diff --git a/Program.cs b/Program.cs new file mode 100644 index 0000000..3751555 --- /dev/null +++ b/Program.cs @@ -0,0 +1,2 @@ +// See https://aka.ms/new-console-template for more information +Console.WriteLine("Hello, World!"); diff --git a/ciaga_integracja.csproj b/ciaga_integracja.csproj new file mode 100644 index 0000000..74abf5c --- /dev/null +++ b/ciaga_integracja.csproj @@ -0,0 +1,10 @@ + + + + Exe + net6.0 + enable + enable + + + diff --git a/main.c b/main.c deleted file mode 100644 index 99482fb..0000000 --- a/main.c +++ /dev/null @@ -1,7 +0,0 @@ -#include - -int main() -{ - printf("Halo, Welt!"); - return 0; -} \ No newline at end of file