1919
2020jobs :
2121 linux-compat :
22- runs-on : ubuntu-latest
22+ runs-on : ubuntu-20.04 # latest
2323 strategy :
2424 matrix :
2525 image :
4040 ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ matrix.image }} build downstream -p ${{ env.PACKAGE_NAME }}
4141
4242 linux-compiler-compat :
43- runs-on : ubuntu-latest
43+ runs-on : ubuntu-20.04 # latest
4444 strategy :
4545 matrix :
4646 compiler :
6363 ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ env.LINUX_BASE_IMAGE }} build downstream -p ${{ env.PACKAGE_NAME }} --compiler=${{ matrix.compiler }}
6464
6565 clang-sanitizers :
66- runs-on : ubuntu-latest
66+ runs-on : ubuntu-20.04 # latest
6767 strategy :
6868 matrix :
6969 sanitizers : [",thread", ",address,undefined"]
7575 ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ env.LINUX_BASE_IMAGE }} build -p ${{ env.PACKAGE_NAME }} --compiler=clang-11 --cmake-extra=-DENABLE_SANITIZERS=ON --cmake-extra=-DSANITIZERS="${{ matrix.sanitizers }}"
7676
7777 linux-shared-libs :
78- runs-on : ubuntu-latest
78+ runs-on : ubuntu-20.04 # latest
7979 steps :
8080 # We can't use the `uses: docker://image` version yet, GitHub lacks authentication for actions -> packages
8181 - name : Build ${{ env.PACKAGE_NAME }}
8484 ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ env.LINUX_BASE_IMAGE }} build -p ${{ env.PACKAGE_NAME }} --cmake-extra=-DBUILD_SHARED_LIBS=ON
8585
8686 byo-crypto :
87- runs-on : ubuntu-latest
87+ runs-on : ubuntu-20.04 # latest
8888 steps :
8989 # We can't use the `uses: docker://image` version yet, GitHub lacks authentication for actions -> packages
9090 - name : Build ${{ env.PACKAGE_NAME }}
@@ -93,15 +93,15 @@ jobs:
9393 ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ env.LINUX_BASE_IMAGE }} build -p ${{ env.PACKAGE_NAME }} --cmake-extra=-DBYO_CRYPTO=ON
9494
9595 windows :
96- runs-on : windows-latest
96+ runs-on : windows-2022 # latest
9797 steps :
9898 - name : Build ${{ env.PACKAGE_NAME }} + consumers
9999 run : |
100100 python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
101101 python builder.pyz build -p ${{ env.PACKAGE_NAME }}
102102
103103 windows-vc14 :
104- runs-on : windows-latest
104+ runs-on : windows-2019 # windows-2019 is last env with Visual Studio 2015 (v14.0)
105105 strategy :
106106 matrix :
107107 arch : [x86, x64]
@@ -112,20 +112,18 @@ jobs:
112112 python builder.pyz build -p ${{ env.PACKAGE_NAME }} --target windows-${{ matrix.arch }} --compiler msvc-14
113113
114114 windows-shared-libs :
115- runs-on : windows-latest
115+ runs-on : windows-2022 # latest
116116 steps :
117117 - name : Build ${{ env.PACKAGE_NAME }} + consumers
118118 run : |
119119 python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
120120 python builder.pyz build -p ${{ env.PACKAGE_NAME }} --cmake-extra=-DBUILD_SHARED_LIBS=ON
121121
122122 osx :
123- runs-on : macos-latest
123+ runs-on : macos-11 # latest
124124 steps :
125125 - name : Build ${{ env.PACKAGE_NAME }} + consumers
126126 run : |
127127 python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
128128 chmod a+x builder
129129 ./builder build downstream -p ${{ env.PACKAGE_NAME }}
130-
131-
0 commit comments