z3
Some checks failed
First CI / build (push) Failing after 12s

This commit is contained in:
vladyslav-crunch
2025-11-21 11:50:08 +01:00
parent 6ff1ab71ab
commit da4e887a48
2 changed files with 10 additions and 12 deletions

View File

@@ -3,19 +3,12 @@ on: [push]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
rid: ["win-x64", "linux-x64"]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-dotnet@v3 - name: build using gcc
with: run: gcc -Wall -Werror main.c -o program
dotnet-version: "8.0.x" - name: Archive production artifacts
- run: dotnet restore
- run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
- name: Upload ${{ matrix.rid }} Artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: app-${{ matrix.rid }} name: program
path: app path: program

5
main.c Normal file
View File

@@ -0,0 +1,5 @@
int main()
{
printf("Halo, Welt!");
return 0;
}