-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbreakage-against-windows-ponyc-latest.yml
More file actions
46 lines (43 loc) · 1.94 KB
/
Copy pathbreakage-against-windows-ponyc-latest.yml
File metadata and controls
46 lines (43 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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.