Add .NET build and test jobs
Some checks failed
First CI / build (push) Successful in 59s
First CI / test (push) Failing after 3s

This commit is contained in:
Nela-cat
2025-11-17 23:41:54 +01:00
parent 30c95e783a
commit 4da3205320

View File

@@ -7,18 +7,17 @@ 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: '8.0.x'
- run: dotnet restore
- run: dotnet build
test:
runs-on: ubuntu-latest
steps:
- name: trying to run
run: dotnet run