Skip to content

Add CI and NuGet publishing workflows with GitVersion integration and… #41

Add CI and NuGet publishing workflows with GitVersion integration and…

Add CI and NuGet publishing workflows with GitVersion integration and… #41

Workflow file for this run

name: ci-linux
on:
push:
pull_request:
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.0.x'
- name: Install Native AOT prerequisites
run: sudo apt-get update && sudo apt-get install -y clang zlib1g-dev
- name: Restore
run: dotnet restore Mammoth.LiteMapper.sln
- name: Build
run: dotnet build Mammoth.LiteMapper.sln --no-restore
- name: Test
run: dotnet test Mammoth.LiteMapper.sln --no-build
env:
LITEMAPPER_REQUIRE_NATIVE_AOT: '1'
- name: Validate solution paths
shell: pwsh
run: |
dotnet sln Mammoth.LiteMapper.sln list
dotnet sln Mammoth.LiteMapper.slnx list