|
6 | 6 | - 'main' |
7 | 7 |
|
8 | 8 | env: |
9 | | - BUILDER_VERSION: v0.9.18 |
| 9 | + BUILDER_VERSION: v0.9.26 |
10 | 10 | BUILDER_SOURCE: releases |
11 | 11 | BUILDER_HOST: https://d19elf31gohf1l.cloudfront.net |
12 | 12 | PACKAGE_NAME: aws-c-http |
|
36 | 36 | - name: Build ${{ env.PACKAGE_NAME }} |
37 | 37 | run: | |
38 | 38 | aws s3 cp s3://aws-crt-test-stuff/ci/${{ env.BUILDER_VERSION }}/linux-container-ci.sh ./linux-container-ci.sh && chmod a+x ./linux-container-ci.sh |
39 | | - ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ matrix.image }} build downstream -p ${{ env.PACKAGE_NAME }} |
| 39 | + ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ matrix.image }} build -p ${{ env.PACKAGE_NAME }} |
40 | 40 |
|
41 | 41 | linux-compiler-compat: |
42 | 42 | runs-on: ubuntu-20.04 # latest |
|
59 | 59 | - name: Build ${{ env.PACKAGE_NAME }} |
60 | 60 | run: | |
61 | 61 | aws s3 cp s3://aws-crt-test-stuff/ci/${{ env.BUILDER_VERSION }}/linux-container-ci.sh ./linux-container-ci.sh && chmod a+x ./linux-container-ci.sh |
62 | | - ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ env.LINUX_BASE_IMAGE }} build downstream -p ${{ env.PACKAGE_NAME }} --compiler=${{ matrix.compiler }} |
| 62 | + ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ env.LINUX_BASE_IMAGE }} build -p ${{ env.PACKAGE_NAME }} --compiler=${{ matrix.compiler }} |
63 | 63 |
|
64 | 64 | clang-sanitizers: |
65 | 65 | runs-on: ubuntu-20.04 # latest |
|
91 | 91 | aws s3 cp s3://aws-crt-test-stuff/ci/${{ env.BUILDER_VERSION }}/linux-container-ci.sh ./linux-container-ci.sh && chmod a+x ./linux-container-ci.sh |
92 | 92 | ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ env.LINUX_BASE_IMAGE }} build -p ${{ env.PACKAGE_NAME }} --cmake-extra=-DBYO_CRYPTO=ON |
93 | 93 |
|
| 94 | + # Test downstream repos. |
| 95 | + # This should not be required because we can run into a chicken and egg problem if there is a change that needs some fix in a downstream repo. |
| 96 | + downstream: |
| 97 | + runs-on: ubuntu-20.04 # latest |
| 98 | + steps: |
| 99 | + # We can't use the `uses: docker://image` version yet, GitHub lacks authentication for actions -> packages |
| 100 | + - name: Build ${{ env.PACKAGE_NAME }} |
| 101 | + run: | |
| 102 | + aws s3 cp s3://aws-crt-test-stuff/ci/${{ env.BUILDER_VERSION }}/linux-container-ci.sh ./linux-container-ci.sh && chmod a+x ./linux-container-ci.sh |
| 103 | + ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ env.LINUX_BASE_IMAGE }} build downstream -p ${{ env.PACKAGE_NAME }} |
| 104 | +
|
94 | 105 | windows: |
95 | 106 | runs-on: windows-2022 # latest |
96 | 107 | steps: |
@@ -130,13 +141,13 @@ jobs: |
130 | 141 | python .\aws-c-http\build\deps\aws-c-common\scripts\appverifier_ctest.py --build_directory .\aws-c-http\build\aws-c-http |
131 | 142 |
|
132 | 143 | osx: |
133 | | - runs-on: macos-11 # latest |
| 144 | + runs-on: macos-12 # latest |
134 | 145 | steps: |
135 | 146 | - name: Build ${{ env.PACKAGE_NAME }} + consumers |
136 | 147 | run: | |
137 | 148 | python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')" |
138 | 149 | chmod a+x builder |
139 | | - ./builder build downstream -p ${{ env.PACKAGE_NAME }} |
| 150 | + ./builder build -p ${{ env.PACKAGE_NAME }} |
140 | 151 |
|
141 | 152 |
|
142 | 153 | localhost-test-linux: |
|
0 commit comments