next #69
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 | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '9.0.x' | |
| - name: Restore | |
| run: dotnet restore BasisPM.slnx | |
| - name: Build | |
| run: dotnet build BasisPM.slnx -c Release --no-restore | |
| - name: Test | |
| run: dotnet test BasisPM.slnx -c Release --no-build --verbosity normal | |
| # Catch a dependency that stops shipping natives for the non-x64 release targets | |
| # before release day (release.yml cross-packs these same RIDs). | |
| - name: Publish smoke (non-x64 release targets) | |
| run: | | |
| for rid in win-arm64 linux-arm64 osx-x64; do | |
| dotnet publish src/BasisPM.App/BasisPM.App.csproj \ | |
| -c Release -r "$rid" --self-contained true -o "/tmp/pub-$rid" | |
| done |