IJPL-218803 IJ-MR-179029 IJ-MR-175479 IJ-MR-184126 don't export execu… #2842
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: "build-test" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - "*" | |
| jobs: | |
| test-backend: | |
| runs-on: ${{ matrix.image }} | |
| strategy: | |
| matrix: | |
| image: [windows-latest] | |
| env: | |
| NUGET_PACKAGES: ${{ github.workspace }}/.github/nuget-packages | |
| GRADLE_USER_HOME: ${{ github.workspace }}/.github/gradle | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
| DOTNET_CLI_TELEMETRY_OPTOUT: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Gradle Wrapper Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ env.GRADLE_USER_HOME }}/wrapper | |
| key: ${{ runner.os }}.gradle-wrapper.${{ hashFiles('rider-fsharp/gradle/**') }} | |
| - name: Gradle Wrapper Validation | |
| uses: gradle/[email protected] | |
| - name: NuGet Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ env.NUGET_PACKAGES }} | |
| key: ${{ runner.os }}.nuget.${{ hashFiles('ReSharper.FSharp/**/*proj') }}+${{ hashFiles('ReSharper.FSharp/**/*.targets') }} | |
| - name: Gradlew Prepare | |
| working-directory: ./rider-fsharp | |
| run: ./gradlew prepare | |
| - name: Set up .NET SDK | |
| uses: actions/setup-dotnet@v2 | |
| with: | |
| global-json-file: ReSharper.FSharp/global.json | |
| - name: Add MSBuild to PATH # for tests | |
| uses: microsoft/[email protected] | |
| - name: Build ReSharper.FSharp | |
| working-directory: ./ReSharper.FSharp | |
| run: dotnet build -p:RunningOnGitHubActions=true | |
| - name: Test ReSharper.FSharp | |
| working-directory: ./ReSharper.FSharp | |
| run: dotnet test --no-build -m:1 ReSharper.FSharp.sln | |
| - name: Build Plugin Frontend | |
| working-directory: ./rider-fsharp | |
| if: ${{ success() }} || ${{ failure() }} | |
| run: ./gradlew buildPlugin | |
| - name: Stop Gradle Daemon # to collect Gradle cache | |
| working-directory: ./rider-fsharp | |
| run: ./gradlew --stop |