Skip to content

CICD: build and test with .NET 8 #50

CICD: build and test with .NET 8

CICD: build and test with .NET 8 #50

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: windows-latest
name: Build
steps:
- name: 🛒 Checkout
uses: actions/checkout@v2
- name: 🐢 Set up MSBuild
uses: microsoft/[email protected]
- name: ✨ Set up .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: "8.0.x"
- name: 🚚 Restore
working-directory: src
run: dotnet restore
- name: 🛠️ Build
working-directory: src
run: msbuild -property:Configuration=Release -verbosity:minimal
- name: 🧪 Test
working-directory: src
run: dotnet test --no-restore --verbosity minimal
- name: 📦 Pack
working-directory: src/FtdiSharp
run: dotnet pack --configuration Release