Fix CLR CI workspace discovery #2
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: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| dotnet: | |
| name: .NET build and tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| path: rustscript-clr-vm | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: rustscript-lang/rustscript | |
| path: rustscript | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: rustscript-lang/pd-edge | |
| path: pd-edge | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '9.0.x' | |
| - name: Restore | |
| working-directory: rustscript-clr-vm | |
| run: dotnet restore pd-vm-clr.sln | |
| - name: Build | |
| working-directory: rustscript-clr-vm | |
| run: dotnet build pd-vm-clr.sln --no-restore --configuration Release | |
| - name: Tests | |
| working-directory: rustscript-clr-vm | |
| run: dotnet test pd-vm-clr.sln --no-build --configuration Release --verbosity normal |