2023-01-10 22:26:27 +00:00
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
pull_request:
|
2023-08-23 14:31:11 +00:00
|
|
|
paths:
|
2023-10-05 03:12:39 +00:00
|
|
|
- 'transport-interop/**'
|
2023-01-18 00:44:22 +00:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- "master"
|
2023-08-22 06:52:59 +00:00
|
|
|
paths:
|
2023-10-05 03:12:39 +00:00
|
|
|
- 'transport-interop/**'
|
2023-01-10 22:26:27 +00:00
|
|
|
|
2023-10-05 03:12:39 +00:00
|
|
|
name: libp2p transport interop test
|
2023-01-10 22:26:27 +00:00
|
|
|
|
|
|
|
jobs:
|
2023-10-05 03:12:39 +00:00
|
|
|
run-transport-interop:
|
2023-07-07 22:41:38 +00:00
|
|
|
runs-on: ['self-hosted', 'linux', 'x64', '4xlarge'] # https://github.com/pl-strflt/tf-aws-gh-runner/blob/main/runners.tf
|
2023-02-01 23:17:22 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-10-05 03:12:39 +00:00
|
|
|
- uses: ./.github/actions/run-transport-interop-test
|
2023-02-11 01:00:53 +00:00
|
|
|
with:
|
2024-09-11 08:01:42 +00:00
|
|
|
s3-cache-bucket: ${{ vars.S3_LIBP2P_BUILD_CACHE_BUCKET_NAME }}
|
|
|
|
s3-access-key-id: ${{ vars.S3_LIBP2P_BUILD_CACHE_AWS_ACCESS_KEY_ID }}
|
|
|
|
s3-secret-access-key: ${{ secrets.S3_LIBP2P_BUILD_CACHE_AWS_SECRET_ACCESS_KEY }}
|
2023-07-07 22:41:38 +00:00
|
|
|
worker-count: 16
|
2023-06-20 17:55:43 +00:00
|
|
|
build-without-secrets:
|
2024-09-11 08:01:42 +00:00
|
|
|
runs-on: ['self-hosted', 'linux', 'x64', '4xlarge'] # https://github.com/pl-strflt/tf-aws-gh-runner/blob/main/runners.tf
|
2023-02-11 01:00:53 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-06-20 17:55:43 +00:00
|
|
|
# Purposely not using secrets to replicate how forks will behave.
|
2023-10-05 03:12:39 +00:00
|
|
|
- uses: ./.github/actions/run-transport-interop-test
|
2023-02-11 01:00:53 +00:00
|
|
|
with:
|
|
|
|
# It's okay to not run the tests, we only care to check if the tests build without cache.
|
|
|
|
test-filter: '"no test matches this, skip all"'
|