|
| 1 | +# This workflow invokes other workflows with the latest MPL head at 14:00 UTC (7am PDT) |
| 2 | +name: CI MPL HEAD |
| 3 | + |
| 4 | +on: |
| 5 | + schedule: |
| 6 | + - cron: "00 14 * * 1-5" |
| 7 | + |
| 8 | +jobs: |
| 9 | + getVersion: |
| 10 | + # Don't run the cron builds on forks |
| 11 | + if: github.event_name != 'schedule' || github.repository_owner == 'aws' |
| 12 | + uses: ./.github/workflows/dafny_version.yml |
| 13 | + getVerifyVersion: |
| 14 | + if: github.event_name != 'schedule' || github.repository_owner == 'aws' |
| 15 | + uses: ./.github/workflows/dafny_verify_version.yml |
| 16 | + getMplHeadVersion: |
| 17 | + if: github.event_name != 'schedule' || github.repository_owner == 'aws' |
| 18 | + uses: ./.github/workflows/mpl_head_version.yml |
| 19 | + mpl-head-ci-format: |
| 20 | + needs: getVersion |
| 21 | + if: github.event_name != 'schedule' || github.repository_owner == 'aws' |
| 22 | + uses: ./.github/workflows/library_format.yml |
| 23 | + with: |
| 24 | + dafny: ${{needs.getVersion.outputs.version}} |
| 25 | + mpl-head-ci-verification: |
| 26 | + needs: [getVerifyVersion, getMplHeadVersion] |
| 27 | + if: github.event_name != 'schedule' || github.repository_owner == 'aws' |
| 28 | + uses: ./.github/workflows/library_dafny_verification.yml |
| 29 | + with: |
| 30 | + dafny: ${{needs.getVerifyVersion.outputs.version}} |
| 31 | + mpl-version: ${{needs.getMplHeadVersion.outputs.version}} |
| 32 | + mpl-head: true |
| 33 | + mpl-head-ci-test-vector-verification: |
| 34 | + needs: [getVerifyVersion, getMplHeadVersion] |
| 35 | + uses: ./.github/workflows/test_vector_verification.yml |
| 36 | + with: |
| 37 | + dafny: ${{needs.getVerifyVersion.outputs.version}} |
| 38 | + mpl-version: ${{needs.getMplHeadVersion.outputs.version}} |
| 39 | + mpl-head: true |
| 40 | + mpl-head-ci-java: |
| 41 | + needs: [getVersion, getMplHeadVersion] |
| 42 | + uses: ./.github/workflows/ci_test_java.yml |
| 43 | + with: |
| 44 | + dafny: ${{needs.getVersion.outputs.version}} |
| 45 | + mpl-version: ${{needs.getMplHeadVersion.outputs.version}} |
| 46 | + mpl-head: true |
| 47 | + mpl-head-ci-java-test-vectors: |
| 48 | + needs: [getVersion, getMplHeadVersion] |
| 49 | + uses: ./.github/workflows/ci_test_vector_java.yml |
| 50 | + with: |
| 51 | + dafny: ${{needs.getVersion.outputs.version}} |
| 52 | + mpl-version: ${{needs.getMplHeadVersion.outputs.version}} |
| 53 | + mpl-head: true |
| 54 | + mpl-head-ci-java-examples: |
| 55 | + needs: [getVersion, getMplHeadVersion] |
| 56 | + uses: ./.github/workflows/ci_examples_java.yml |
| 57 | + with: |
| 58 | + dafny: ${{needs.getVersion.outputs.version}} |
| 59 | + mpl-version: ${{needs.getMplHeadVersion.outputs.version}} |
| 60 | + mpl-head: true |
| 61 | + mpl-head-ci-net: |
| 62 | + needs: getVersion |
| 63 | + uses: ./.github/workflows/ci_test_net.yml |
| 64 | + with: |
| 65 | + dafny: ${{needs.getVersion.outputs.version}} |
| 66 | + mpl-head: true |
| 67 | + mpl-head-ci-net-test-vectors: |
| 68 | + needs: getVersion |
| 69 | + uses: ./.github/workflows/ci_test_vector_net.yml |
| 70 | + with: |
| 71 | + dafny: ${{needs.getVersion.outputs.version}} |
| 72 | + mpl-head: true |
| 73 | + mpl-head-ci-net-examples: |
| 74 | + needs: getVersion |
| 75 | + uses: ./.github/workflows/ci_examples_net.yml |
| 76 | + with: |
| 77 | + dafny: ${{needs.getVersion.outputs.version}} |
| 78 | + mpl-head: true |
0 commit comments