-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbreakage-against-ponyc-latest.yml
More file actions
85 lines (81 loc) · 2.88 KB
/
Copy pathbreakage-against-ponyc-latest.yml
File metadata and controls
85 lines (81 loc) · 2.88 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
name: ponyc update breakage test
on:
repository_dispatch:
types:
- shared-docker-builders-updated
permissions:
packages: read
jobs:
pony-lint:
name: Lint against ponyc main
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: Lint
run: make lint
- 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.
vs-ponyc-latest:
name: Test against ponyc main
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/shared-docker-ci-standard-builder-with-libressl-4.2.1:nightly
services:
redis:
image: redis:7
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
redis-ssl:
image: ghcr.io/ponylang/redis-ci-redis-ssl:latest
options: >-
--health-cmd "redis-cli --tls --insecure ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
redis-resp2:
image: redis:5
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v6.0.2
- name: Unit tests
run: make unit-tests config=debug ssl=libressl
- name: Integration tests
run: make integration-tests config=debug ssl=libressl
env:
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_SSL_HOST: redis-ssl
REDIS_SSL_PORT: 6379
REDIS_RESP2_HOST: redis-resp2
REDIS_RESP2_PORT: 6379
- name: Build examples
run: make examples config=debug ssl=libressl
- 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.