Fix infinite recursion in IsType<T> #500
Workflow file for this run
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, v* ] | |
| pull_request: | |
| branches: [ main, v* ] | |
| workflow_dispatch: | |
| jobs: | |
| windows-x64: | |
| runs-on: ${{ matrix.os }}-latest | |
| strategy: | |
| matrix: | |
| architecture: [ x64 ] | |
| configuration: [ debug, release ] | |
| os: [ windows ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: ./scripts/cibuild.cmd -configuration ${{ matrix.configuration }} -architecture ${{ matrix.architecture }} | |
| shell: cmd | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }} | |
| path: | | |
| ./artifacts/bin/**/* | |
| ./artifacts/log/**/* | |
| ./artifacts/tst/**/* | |
| if-no-files-found: error | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }}_pkg | |
| path: | | |
| ./artifacts/pkg/**/* | |
| if-no-files-found: error | |
| windows-arm64: | |
| runs-on: ${{ matrix.os }}-11-arm | |
| strategy: | |
| matrix: | |
| architecture: [ arm64 ] | |
| configuration: [ debug, release ] | |
| os: [ windows ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: ./scripts/cibuild.cmd -configuration ${{ matrix.configuration }} -architecture ${{ matrix.architecture }} | |
| shell: cmd | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }} | |
| path: | | |
| ./artifacts/bin/**/* | |
| ./artifacts/log/**/* | |
| ./artifacts/tst/**/* | |
| if-no-files-found: error | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }}_pkg | |
| path: | | |
| ./artifacts/pkg/**/*.win-arm64.* | |
| if-no-files-found: error | |
| linux-x64: | |
| runs-on: ${{ matrix.os }}-latest | |
| strategy: | |
| matrix: | |
| architecture: [ x64 ] | |
| configuration: [ debug, release ] | |
| os: [ ubuntu ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: ./scripts/cibuild.sh --configuration ${{ matrix.configuration }} --architecture ${{ matrix.architecture }} | |
| shell: bash | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }} | |
| path: | | |
| ./artifacts/bin/**/* | |
| ./artifacts/log/**/* | |
| ./artifacts/tst/**/* | |
| if-no-files-found: error | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }}_pkg | |
| path: | | |
| ./artifacts/pkg/**/*.linux-x64.* | |
| if-no-files-found: error | |
| linux-arm64: | |
| runs-on: ${{ matrix.os }}-24.04-arm | |
| strategy: | |
| matrix: | |
| architecture: [ arm64 ] | |
| configuration: [ debug, release ] | |
| os: [ ubuntu ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: ./scripts/cibuild.sh --configuration ${{ matrix.configuration }} --architecture ${{ matrix.architecture }} | |
| shell: bash | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }} | |
| path: | | |
| ./artifacts/bin/**/* | |
| ./artifacts/log/**/* | |
| ./artifacts/tst/**/* | |
| if-no-files-found: error | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }}_pkg | |
| path: | | |
| ./artifacts/pkg/**/*.linux-arm64.* | |
| if-no-files-found: error | |
| macos-arm64: | |
| runs-on: ${{ matrix.os }}-latest | |
| strategy: | |
| matrix: | |
| architecture: [ arm64 ] | |
| configuration: [ debug, release ] | |
| os: [ macos ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: ./scripts/cibuild.sh --configuration ${{ matrix.configuration }} --architecture ${{ matrix.architecture }} | |
| shell: bash | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }} | |
| path: | | |
| ./artifacts/bin/**/* | |
| ./artifacts/log/**/* | |
| ./artifacts/tst/**/* | |
| if-no-files-found: error | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }}_pkg | |
| path: | | |
| ./artifacts/pkg/**/*.osx-arm64.* | |
| if-no-files-found: error | |
| sign-nuget: | |
| runs-on: windows-latest | |
| if: ${{ github.event_name == 'push' }} | |
| needs: [ windows-x64, windows-arm64, linux-x64, linux-arm64, macos-arm64 ] | |
| permissions: | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| merge-multiple: true | |
| path: ./artifacts/pkg | |
| pattern: "*_release_*_pkg" | |
| - uses: actions/setup-dotnet@v4 | |
| with: | |
| global-json-file: ./global.json | |
| - run: dotnet tool install --tool-path ./artifacts/tools --prerelease sign | |
| - uses: azure/login@v2 | |
| with: | |
| allow-no-subscriptions: true | |
| client-id: "${{ secrets.AZURE_CLIENT_ID }}" | |
| tenant-id: "${{ secrets.AZURE_TENANT_ID }}" | |
| - run: ./artifacts/tools/sign code azure-key-vault "**/*.nupkg" --base-directory "${{ github.workspace }}/artifacts/pkg" --file-list "${{ github.workspace }}/scripts/SignClientFileList.txt" --publisher-name ".NET Foundation" --description "ClangSharp" --description-url "https://github.com/dotnet/clangsharp" --azure-credential-type "azure-cli" --azure-key-vault-url "${{ secrets.KEY_VAULT_URL }}" --azure-key-vault-certificate "${{ secrets.KEY_VAULT_CERTIFICATE_ID }}" | |
| shell: pwsh | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: sign_nuget | |
| path: | | |
| ./artifacts/pkg/**/* | |
| if-no-files-found: error | |
| publish-nightlies-azure: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.event_name == 'push' }} | |
| needs: [ sign-nuget ] | |
| steps: | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: sign_nuget | |
| path: ./artifacts/pkg | |
| - uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '8.0.x' | |
| source-url: https://pkgs.clangsharp.dev/index.json | |
| env: | |
| NUGET_AUTH_TOKEN: ${{ secrets.AZURE_DEVOPS_PAT }} | |
| - run: dotnet nuget push "./artifacts/pkg/Release/*.nupkg" --api-key AzureDevOps --skip-duplicate | |
| publish-nightlies-github: | |
| runs-on: ubuntu-latest | |
| if: false | |
| needs: [ sign-nuget ] | |
| steps: | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: sign_nuget | |
| path: ./artifacts/pkg | |
| - uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '8.0.x' | |
| - run: dotnet nuget push "./artifacts/pkg/Release/*.nupkg" --source https://nuget.pkg.github.com/dotnet/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate |