Skip to content

ponyc-windows-nightly-released #156

ponyc-windows-nightly-released

ponyc-windows-nightly-released #156

name: Windows ponyc update breakage test
on:
repository_dispatch:
types: [ponyc-windows-nightly-released]
permissions:
packages: read
jobs:
windows:
name: Verify main against the latest ponyc on Windows
runs-on: windows-2025-vs2026
steps:
- uses: actions/checkout@v6.0.2
- 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 with most recent ponyc nightly
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;
.\make.ps1 -Command test 2>&1;
- name: Send alert on failure
if: ${{ failure() }}
uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa
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.