CI #1863
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: | |
| pull_request: | |
| schedule: | |
| - cron: '0 0 * * 0' # every Sunday at midnight | |
| workflow_dispatch: # manual trigger | |
| jobs: | |
| # Make sure we only invoke known gradle-wrapper.jar files | |
| gradleValidation: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch Sources | |
| uses: actions/checkout@v5 | |
| - name: Gradle Wrapper Validation | |
| uses: gradle/actions/wrapper-validation@v5 | |
| rider: | |
| needs: gradleValidation | |
| runs-on: ubuntu-latest | |
| env: | |
| LOCAL_ENV_RUN: true | |
| steps: | |
| - name: Fetch Sources | |
| uses: actions/checkout@v5 | |
| - name: Setup .NET CLI | |
| uses: actions/setup-dotnet@v1 | |
| with: | |
| dotnet-version: '8.0.x' | |
| - name: Build rider | |
| shell: bash | |
| working-directory: rider | |
| run: ./gradlew -PBuildConfiguration=Release -PbuildNumber=${{ github.run_number }} buildPlugin | |
| gdscript: | |
| needs: gradleValidation | |
| runs-on: ubuntu-latest | |
| env: | |
| LOCAL_ENV_RUN: true | |
| steps: | |
| - name: Fetch Sources | |
| uses: actions/checkout@v5 | |
| - name: Build community | |
| shell: bash | |
| working-directory: community | |
| run: ./gradlew -PBuildConfiguration=Release -PbuildNumber=${{ github.run_number }} buildPlugin | |
| - name: Build gdscript | |
| shell: bash | |
| working-directory: gdscript | |
| run: ./gradlew -PBuildConfiguration=Release -PbuildNumber=${{ github.run_number }} buildPlugin | |
| - name: Test gdscript | |
| shell: bash | |
| working-directory: gdscript | |
| run: ./gradlew -PBuildConfiguration=Release -PbuildNumber=${{ github.run_number }} test |