Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

God damn i'm stupid #16

God damn i'm stupid

God damn i'm stupid #16

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-linux:
name: Build Linux
runs-on: ubuntu-latest
steps:
- name: Setup Repository
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Upload Artifact
uses: actions/upload-artifact@v3
if: always()
with:
name: Linux Executable
path: XaiSharp/bin/
retention-days: 30
build-windows:
name: Build Windows
runs-on: windows-latest
steps:
- name: Setup Repository
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Upload Artifact
uses: actions/upload-artifact@v3
if: always()
with:
name: Windows Executable
path: XaiSharp/bin
retention-days: 30