Skip to content

Commit 590fc47

Browse files
committed
Check s2n on macos
1 parent 70b555d commit 590fc47

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,46 @@ jobs:
238238
./builder build -p ${{ env.PACKAGE_NAME }} --spec=downstream
239239
python3 codebuild/macos_compatibility_check.py
240240
241+
macos-s2n:
242+
runs-on: macos-15 #latest
243+
env:
244+
AWS_CRT_USE_NON_FIPS_TLS_13: 1
245+
steps:
246+
- uses: aws-actions/configure-aws-credentials@v4
247+
with:
248+
role-to-assume: ${{ env.CRT_CI_ROLE }}
249+
aws-region: ${{ env.AWS_DEFAULT_REGION }}
250+
- name: Checkout Sources
251+
uses: actions/checkout@v4
252+
with:
253+
submodules: true
254+
- name: Build ${{ env.PACKAGE_NAME }} + consumers
255+
run: |
256+
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
257+
chmod a+x builder
258+
./builder build -p ${{ env.PACKAGE_NAME }} --spec=downstream
259+
python3 codebuild/macos_compatibility_check.py
260+
261+
macos-x64-s2n:
262+
runs-on: macos-15-large #latest
263+
env:
264+
AWS_CRT_USE_NON_FIPS_TLS_13: 1
265+
steps:
266+
- uses: aws-actions/configure-aws-credentials@v4
267+
with:
268+
role-to-assume: ${{ env.CRT_CI_ROLE }}
269+
aws-region: ${{ env.AWS_DEFAULT_REGION }}
270+
- name: Checkout Sources
271+
uses: actions/checkout@v4
272+
with:
273+
submodules: true
274+
- name: Build ${{ env.PACKAGE_NAME }} + consumers
275+
run: |
276+
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
277+
chmod a+x builder
278+
./builder build -p ${{ env.PACKAGE_NAME }} --spec=downstream --cmake-extra=-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON
279+
python3 codebuild/macos_compatibility_check.py
280+
241281
# check that docs can still build
242282
check-docs:
243283
runs-on: ubuntu-22.04 # use same version as docs.yml

0 commit comments

Comments
 (0)