Skip to content

Commit

Permalink
Update Codebuild to use crt-builder (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera authored Apr 8, 2024
1 parent f488005 commit 69ec445
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions codebuild/linux-integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ fi
env

swift -v
swift build
swift test
python3 -c "from urllib.request import urlretrieve; urlretrieve('$BUILDER_HOST/$BUILDER_SOURCE/$BUILDER_VERSION/builder.pyz?run=$CODEBUILD_BUILD_ID', 'builder.pyz')"
python3 builder.pyz build --project $PACKAGE_NAME downstream --cmake-extra=-DUSE_OPENSSL=ON
9 changes: 8 additions & 1 deletion codebuild/linux-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
version: 0.1
version: 0.2
env:
shell: bash
variables:
BUILDER_VERSION: v0.9.56
BUILDER_SOURCE: releases
BUILDER_HOST: https://d19elf31gohf1l.cloudfront.net
PACKAGE_NAME: aws-crt-swift

phases:
build:
commands:
- echo Build started on `date`
- aws s3 cp s3://aws-crt-test-stuff/setup_proxy_test_env.sh /tmp/setup_proxy_test_env.sh
- chmod a+xr /tmp/setup_proxy_test_env.sh
- $CODEBUILD_SRC_DIR/codebuild/linux-integration-tests.sh

post_build:
commands:
- echo Build completed on `date`

0 comments on commit 69ec445

Please sign in to comment.