Add CI and NuGet publishing workflows with GitVersion integration and… #41
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |