Update CI
Some checks failed
First CI / build (push) Successful in 56s
First CI / test (push) Failing after 10s

This commit is contained in:
Xylo 2023-12-01 11:16:35 +01:00
parent 0e2bcb4a6d
commit 3e4dc1400c

View File

@ -6,10 +6,13 @@ 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: '6.0.x'
path: program - run: dotnet restore
- run: dotnet build
test:
steps:
- name: Trying to run
run: dotnet run