ponyc-windows-nightly-released #26
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: Windows ponyc update breakage test | |
| on: | |
| repository_dispatch: | |
| types: [ponyc-windows-nightly-released] | |
| permissions: | |
| packages: read | |
| jobs: | |
| windows-vs-ponyc-latest: | |
| name: Test against recent ponyc release on Windows | |
| runs-on: windows-2025 | |
| steps: | |
| - name: Disable Windows Defender | |
| run: Set-MpPreference -DisableRealtimeMonitoring $true | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Test against recent ponyc release on Windows | |
| run: | | |
| Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/nightlies/raw/versions/latest/ponyc-x86-64-pc-windows-msvc.zip -OutFile C:\ponyc.zip; | |
| Expand-Archive -Force -Path C:\ponyc.zip -DestinationPath C:\ponyc; | |
| Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/releases/raw/versions/latest/corral-x86-64-pc-windows-msvc.zip -OutFile C:\corral.zip; | |
| Expand-Archive -Force -Path C:\corral.zip -DestinationPath C:\ponyc; | |
| $env:PATH = 'C:\ponyc\bin;' + $env:PATH; | |
| - name: Cache LibreSSL libs | |
| id: cache-libressl | |
| uses: actions/cache@v5.0.3 | |
| with: | |
| path: | | |
| ssl.lib | |
| crypto.lib | |
| tls.lib | |
| key: libressl-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.ci-scripts/windows-install-libressl.ps1') }} | |
| - name: Install LibreSSL | |
| if: steps.cache-libressl.outputs.cache-hit != 'true' | |
| run: .ci-scripts\windows-install-libressl.ps1 | |
| - name: Test | |
| run: | | |
| $env:PATH = 'C:\ponyc\bin;' + $env:PATH; | |
| .\make.ps1 -Command test 2>&1; | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@e4c8f27c732ba9bd98ac6be0583096dea82feea5 | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. |