Cross platform support #447
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: | |
| - master | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| DOTNET_NOLOGO: true | |
| defaults: | |
| run: | |
| shell: pwsh | |
| jobs: | |
| build: | |
| name: Linux | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5.0.0 | |
| - name: Setup .NET SDK | |
| uses: actions/setup-dotnet@v5.0.0 | |
| with: | |
| global-json-file: global.json | |
| - name: Build | |
| run: dotnet build src --configuration Release | |
| - name: Remove executables | |
| run: | | |
| Remove-Item binaries/MonitoringDemo/MonitoringDemo | |
| Remove-Item binaries/Billing/Billing | |
| Remove-Item binaries/ClientUI/ClientUI | |
| Remove-Item binaries/PlatformLauncher/PlatformLauncher | |
| Remove-Item binaries/Sales/Sales | |
| Remove-Item binaries/Shipping/Shipping | |
| - name: Publish artifacts | |
| uses: actions/upload-artifact@v4.6.2 | |
| with: | |
| name: binaries | |
| path: binaries/* | |
| retention-days: 7 |