File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,18 @@ PROXY_SETUP=/tmp/setup_proxy_test_env.sh
22if [ -f " $PROXY_SETUP " ]; then
33 source $PROXY_SETUP
44 export AWS_PROXY_NO_VERIFY_PEER=on
5- echo " setting proxy integration test envrionment"
5+ echo " setting proxy integration test environment"
6+ fi
7+
8+ if [ -d " ./build/aws-c-http/" ]; then
9+ # This is the directory (relative to repo root) that will contain the build when the repo is built directly by the
10+ # builder
11+ cd ./build/aws-c-http/
12+ elif [ -d " ../../aws-c-http" ]; then
13+ # This is the directory (relative to repo root) that will contain the build when the repo is built as an upstream
14+ # consumer
15+ cd ../../aws-c-http
616fi
717
8- cd ./build/aws-c-http/
918ctest --output-on-failure
19+
Original file line number Diff line number Diff line change 3333 - name : Build ${{ env.PACKAGE_NAME }}
3434 run : |
3535 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
36- ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ matrix.image }} build -p ${{ env.PACKAGE_NAME }} downstream
36+ ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ matrix.image }} build downstream -p ${{ env.PACKAGE_NAME }}
3737
3838 linux-compiler-compat :
3939 runs-on : ubuntu-latest
5656 - name : Build ${{ env.PACKAGE_NAME }}
5757 run : |
5858 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
59- ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ env.LINUX_BASE_IMAGE }} build -p ${{ env.PACKAGE_NAME }} --compiler=${{ matrix.compiler }} --spec downstream
59+ ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ env.LINUX_BASE_IMAGE }} build downstream -p ${{ env.PACKAGE_NAME }} --compiler=${{ matrix.compiler }}
6060
6161 clang-sanitizers :
6262 runs-on : ubuntu-latest
8686 - name : Build ${{ env.PACKAGE_NAME }}
8787 run : |
8888 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
89- ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ env.LINUX_BASE_IMAGE }} build -p ${{ env.PACKAGE_NAME }} --cmake-extra=-DBYO_CRYPTO=ON downstream
89+ ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ env.LINUX_BASE_IMAGE }} build -p ${{ env.PACKAGE_NAME }} --cmake-extra=-DBYO_CRYPTO=ON
9090
9191 windows :
9292 runs-on : windows-latest
@@ -122,6 +122,6 @@ jobs:
122122 run : |
123123 python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
124124 chmod a+x builder
125- ./builder build -p ${{ env.PACKAGE_NAME }} downstream
125+ ./builder build downstream -p ${{ env.PACKAGE_NAME }}
126126
127127
You can’t perform that action at this time.
0 commit comments