Skip to content

Updated fastpack to .net 8 #30

Updated fastpack to .net 8

Updated fastpack to .net 8 #30

Workflow file for this run

name: FastPack CI
on: [push]
jobs:
build:
strategy:
matrix:
os: [win-x64, linux-x64, osx-x64]
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Build ${{ matrix.os }}
working-directory: ./src
run: dotnet publish -r ${{ matrix.os }} -c Release -o ../output/${{ matrix.os }} --verbosity q --self-contained True -p:PublishTrimmed=True -p:IncludeNativeLibrariesForSelfExtract=True -p:EnableCompressionInSingleFile=True ./FastPack/FastPack.csproj
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: FastPack executable
path: |
output/**/*
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Install dependencies
working-directory: ./src
run: dotnet restore
- name: Test
working-directory: ./src
run: dotnet test --no-restore --verbosity normal