Update CI
This commit is contained in:
parent
0e2bcb4a6d
commit
3e4dc1400c
@ -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
|
Loading…
x
Reference in New Issue
Block a user