shared-docker-builders-updated #28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ponyc update breakage test | |
| on: | |
| repository_dispatch: | |
| types: | |
| - shared-docker-builders-updated | |
| permissions: | |
| packages: read | |
| jobs: | |
| 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.0: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@v4.1.1 | |
| - 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@e4c8f27c732ba9bd98ac6be0583096dea82feea5 | |
| 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. |