Skip to content

Commit bd27c2d

Browse files
committed
Check downstream
1 parent 30bb139 commit bd27c2d

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,36 @@ jobs:
150150
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
151151
./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-ubuntu-22-x64 build downstream -p ${{ env.PACKAGE_NAME }}
152152
153+
downstream-macos:
154+
runs-on: macos-latest
155+
steps:
156+
- uses: aws-actions/configure-aws-credentials@v4
157+
with:
158+
role-to-assume: ${{ env.CRT_CI_ROLE }}
159+
aws-region: ${{ env.AWS_DEFAULT_REGION }}
160+
# We can't use the `uses: docker://image` version yet, GitHub lacks authentication for actions -> packages
161+
- name: Build ${{ env.PACKAGE_NAME }}
162+
run: |
163+
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
164+
chmod a+x builder
165+
./builder build downstream -p ${{ env.PACKAGE_NAME }}
166+
167+
downstream-macos-s2n:
168+
runs-on: macos-latest
169+
env:
170+
AWS_CRT_USE_NON_FIPS_TLS_13: 1
171+
steps:
172+
- uses: aws-actions/configure-aws-credentials@v4
173+
with:
174+
role-to-assume: ${{ env.CRT_CI_ROLE }}
175+
aws-region: ${{ env.AWS_DEFAULT_REGION }}
176+
# We can't use the `uses: docker://image` version yet, GitHub lacks authentication for actions -> packages
177+
- name: Build ${{ env.PACKAGE_NAME }}
178+
run: |
179+
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
180+
chmod a+x builder
181+
./builder build downstream -p ${{ env.PACKAGE_NAME }}
182+
153183
windows:
154184
runs-on: windows-2025 # latest
155185
steps:

0 commit comments

Comments
 (0)