7
7
- ' !master'
8
8
9
9
env :
10
- BUILDER_VERSION : v0.6.1
10
+ BUILDER_VERSION : v0.6.5
11
11
BUILDER_SOURCE : releases
12
12
BUILDER_HOST : https://d19elf31gohf1l.cloudfront.net
13
13
PACKAGE_NAME : aws-crt-cpp
41
41
export DOCKER_IMAGE=docker.pkg.github.com/awslabs/aws-crt-builder/aws-crt-al2-x64:${{ env.BUILDER_VERSION }}
42
42
docker pull $DOCKER_IMAGE
43
43
docker run --env GITHUB_REF $DOCKER_IMAGE build -p ${{ env.PACKAGE_NAME }} --spec=downstream
44
-
44
+
45
45
clang-compat :
46
46
runs-on : ubuntu-latest
47
47
strategy :
60
60
runs-on : ubuntu-latest
61
61
strategy :
62
62
matrix :
63
- version : [4.8, 5, 6, 7, 8]
63
+ version : [4.8, 5, 6, 7, 8]
64
64
steps :
65
65
# We can't use the `uses: docker://image` version yet, GitHub lacks authentication for actions -> packages
66
66
- name : Build ${{ env.PACKAGE_NAME }}
@@ -70,11 +70,32 @@ jobs:
70
70
docker pull $DOCKER_IMAGE
71
71
docker run --env GITHUB_REF $DOCKER_IMAGE build -p ${{ env.PACKAGE_NAME }} --compiler=gcc-${{ matrix.version }}
72
72
73
- windows :
73
+ windows-vs16 :
74
74
runs-on : windows-latest
75
75
steps :
76
76
- name : Build ${{ env.PACKAGE_NAME }} + consumers
77
77
run : |
78
+ md D:\a\work
79
+ cd D:\a\work
80
+ python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
81
+ python builder.pyz build -p ${{ env.PACKAGE_NAME }} --spec=downstream
82
+
83
+ windows-vs14 :
84
+ runs-on : windows-latest
85
+ strategy :
86
+ matrix :
87
+ arch : [x86, x64]
88
+ steps :
89
+ - uses : ilammy/msvc-dev-cmd@v1
90
+ with :
91
+ toolset : 14.0
92
+ arch : ${{ matrix.arch }}
93
+ uwp : false
94
+ spectre : true
95
+ - name : Build ${{ env.PACKAGE_NAME }} + consumers
96
+ run : |
97
+ md D:\a\work
98
+ cd D:\a\work
78
99
python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
79
100
python builder.pyz build -p ${{ env.PACKAGE_NAME }} --spec=downstream
80
101
@@ -93,13 +114,10 @@ jobs:
93
114
strategy :
94
115
matrix :
95
116
arch : [linux-armv6, linux-armv7, linux-arm64, android-armv7]
96
-
117
+
97
118
steps :
98
119
- name : Build ${{ env.PACKAGE_NAME }} + consumers
99
120
run : |
100
121
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
101
122
chmod a+x builder
102
123
./builder build -p aws-crt-cpp --spec=downstream --target=${{matrix.arch}} run_tests=false
103
-
104
-
105
-
0 commit comments