-
-
Notifications
You must be signed in to change notification settings - Fork 1
132 lines (121 loc) · 4.72 KB
/
Copy pathpr.yml
File metadata and controls
132 lines (121 loc) · 4.72 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
name: PR
on:
pull_request:
paths:
- '**'
- '!**/*.md'
- '!**/*.yml'
- '!**/*.yaml'
- '.github/workflows/pr.yml'
concurrency:
group: pr-${{ github.ref }}
cancel-in-progress: true
permissions:
packages: read
jobs:
lint:
name: Lint Pony code
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/shared-docker-ci-standard-builder:nightly
steps:
- uses: actions/checkout@v6.0.2
- name: Lint
run: make lint
test-libressl-3-vs-ponyc-release:
name: LibreSSL 3.x with most recent ponyc release
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-libressl-3.9.2:nightly
steps:
- uses: actions/checkout@v6.0.2
- name: Test
run: make test config=debug ssl=libressl
test-libressl-4-vs-ponyc-release:
name: LibreSSL 4.x with most recent ponyc release
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/shared-docker-ci-standard-builder-with-libressl-4.2.1:nightly
steps:
- uses: actions/checkout@v6.0.2
- name: Test
run: make test config=debug ssl=libressl
test-openssl-1-vs-ponyc-release:
name: OpenSSL 1.x with most recent ponyc release
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-openssl_1.1.1w:nightly
steps:
- uses: actions/checkout@v6.0.2
- name: Test
run: make test config=debug ssl=1.1.x
test-openssl-3-vs-ponyc-release:
name: OpenSSL 3.x with most recent ponyc release
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/shared-docker-ci-standard-builder-with-openssl-3.6.2:nightly
steps:
- uses: actions/checkout@v6.0.2
- name: Test
run: make test config=debug ssl=3.0.x
test-openssl-4-vs-ponyc-release:
name: OpenSSL 4.x with most recent ponyc release
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/shared-docker-ci-standard-builder-with-openssl-4.0.0:nightly
steps:
- uses: actions/checkout@v6.0.2
- name: Test
run: make test config=debug ssl=4.0.x
test-x86-64-windows-vs-ponyc-release:
name: Windows x86-64 (LibreSSL) with most recent ponyc release
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 release
run: |
Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/releases/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;
.\make.ps1 -Command examples 2>&1;
test-arm64-windows-vs-ponyc-release:
name: Windows arm64 (LibreSSL) with most recent ponyc release
runs-on: windows-11-arm
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 release
run: |
Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/releases/raw/versions/latest/ponyc-arm64-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-arm64-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;
.\make.ps1 -Command examples 2>&1;