generated from ponylang/library-project-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 8
78 lines (70 loc) · 2.63 KB
/
pr.yml
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
name: PR
on: pull_request
concurrency:
group: pr-${{ github.ref }}
cancel-in-progress: true
jobs:
superlinter:
name: Lint bash, docker, markdown, and yaml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: Lint codebase
uses: docker://github/super-linter:v3.8.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: true
VALIDATE_BASH: true
VALIDATE_DOCKERFILE: true
VALIDATE_MD: true
VALIDATE_YAML: true
verify-changelog:
name: Verify CHANGELOG is valid
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/changelog-tool:release
steps:
- uses: actions/checkout@v4.1.1
- name: Verify CHANGELOG
run: changelog-tool verify
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:release
steps:
- uses: actions/checkout@v4.1.1
- name: Test
run: make test config=debug ssl=0.9.0
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:release
steps:
- uses: actions/checkout@v4.1.1
- 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-x86-64-unknown-linux-builder-with-openssl_3.3.2:release
steps:
- uses: actions/checkout@v4.1.1
- name: Test
run: make test config=debug ssl=3.0.x
test-windows-vs-ponyc-release:
name: Windows (LibreSSL) with most recent ponyc release
runs-on: windows-2022
steps:
- uses: actions/checkout@v4.1.1
- 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 libs 2>&1;
.\make.ps1 -Command test 2>&1;