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