Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Codebuild to use crt-builder #249

Merged
merged 6 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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`
Loading