File tree Expand file tree Collapse file tree 10 files changed +86
-0
lines changed Expand file tree Collapse file tree 10 files changed +86
-0
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,13 @@ jobs:
121
121
--rm \
122
122
"${DOCKER}" \
123
123
-c 'PATH="${PATH}":/rustc-sysroot/bin bash ci/run.bash'
124
+ - name : Upload the built artifact
125
+ uses : actions/upload-artifact@v2
126
+ with :
127
+ name : rustup-init-${{ matrix.target }}
128
+ path : |
129
+ target/${{ matrix.target }}/release/rustup-init
130
+ retention-days : 7
124
131
- name : Acquire the AWS tooling
125
132
run : |
126
133
pip3 install -U setuptools
Original file line number Diff line number Diff line change @@ -114,6 +114,13 @@ jobs:
114
114
--rm \
115
115
"${DOCKER}" \
116
116
-c 'PATH="${PATH}":/rustc-sysroot/bin bash ci/run.bash'
117
+ - name : Upload the built artifact
118
+ uses : actions/upload-artifact@v2
119
+ with :
120
+ name : rustup-init-${{ matrix.target }}
121
+ path : |
122
+ target/${{ matrix.target }}/release/rustup-init
123
+ retention-days : 7
117
124
- name : Acquire the AWS tooling
118
125
run : |
119
126
pip3 install -U setuptools
Original file line number Diff line number Diff line change @@ -144,6 +144,13 @@ jobs:
144
144
--rm \
145
145
"${DOCKER}" \
146
146
-c 'PATH="${PATH}":/rustc-sysroot/bin bash ci/run.bash'
147
+ - name : Upload the built artifact
148
+ uses : actions/upload-artifact@v2
149
+ with :
150
+ name : rustup-init-${{ matrix.target }}
151
+ path : |
152
+ target/${{ matrix.target }}/release/rustup-init
153
+ retention-days : 7
147
154
- name : Acquire the AWS tooling
148
155
run : |
149
156
pip3 install -U setuptools
Original file line number Diff line number Diff line change 42
42
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
43
43
echo "TARGET=${{ matrix.target }}" >> $GITHUB_ENV
44
44
echo "SKIP_TESTS=" >> $GITHUB_ENV
45
+ echo "LZMA_API_STATIC=1" >> $GITHUB_ENV
45
46
- name : Cache cargo registry and git trees
46
47
uses : actions/cache@v2
47
48
with :
90
91
rustup target install "$TARGET"
91
92
- name : Run a full build and test
92
93
run : bash ci/run.bash
94
+ - name : Dump dynamic link targets
95
+ run : |
96
+ otool -L target/${TARGET}/release/rustup-init
97
+ if otool -L target/${TARGET}/release/rustup-init | grep -q -F /usr/local/; then
98
+ echo >&2 "Unfortunately there are /usr/local things in the link. Fail."
99
+ exit 1
100
+ fi
101
+ - name : Upload the built artifact
102
+ uses : actions/upload-artifact@v2
103
+ with :
104
+ name : rustup-init-${{ matrix.target }}
105
+ path : |
106
+ target/${{ matrix.target }}/release/rustup-init
107
+ retention-days : 7
93
108
- name : Acquire the AWS tooling
94
109
run : |
95
110
pip3 install awscli
Original file line number Diff line number Diff line change 97
97
rustup target install ${{ matrix.target }}
98
98
- name : Run a full build
99
99
run : bash ci/run.bash
100
+ - name : Upload the built artifact
101
+ uses : actions/upload-artifact@v2
102
+ with :
103
+ name : rustup-init-${{ matrix.target }}
104
+ path : |
105
+ target/${{ matrix.target }}/release/rustup-init.exe
106
+ retention-days : 7
100
107
- name : Acquire the AWS tooling
101
108
run : |
102
109
choco upgrade awscli
Original file line number Diff line number Diff line change 94
94
rustup target install ${{ matrix.target }}
95
95
- name : Run a full build
96
96
run : bash ci/run.bash
97
+ - name : Upload the built artifact
98
+ uses : actions/upload-artifact@v2
99
+ with :
100
+ name : rustup-init-${{ matrix.target }}
101
+ path : |
102
+ target/${{ matrix.target }}/release/rustup-init.exe
103
+ retention-days : 7
97
104
- name : Acquire the AWS tooling
98
105
run : |
99
106
choco upgrade awscli
Original file line number Diff line number Diff line change 97
97
rustup target install ${{ matrix.target }}
98
98
- name : Run a full build
99
99
run : bash ci/run.bash
100
+ - name : Upload the built artifact
101
+ uses : actions/upload-artifact@v2
102
+ with :
103
+ name : rustup-init-${{ matrix.target }}
104
+ path : |
105
+ target/${{ matrix.target }}/release/rustup-init.exe
106
+ retention-days : 7
100
107
- name : Acquire the AWS tooling
101
108
run : |
102
109
choco upgrade awscli
Original file line number Diff line number Diff line change @@ -152,6 +152,13 @@ jobs:
152
152
--rm \
153
153
"${DOCKER}" \
154
154
-c 'PATH="${PATH}":/rustc-sysroot/bin bash ci/run.bash'
155
+ - name : Upload the built artifact
156
+ uses : actions/upload-artifact@v2
157
+ with :
158
+ name : rustup-init-${{ matrix.target }}
159
+ path : |
160
+ target/${{ matrix.target }}/release/rustup-init
161
+ retention-days : 7
155
162
- name : Acquire the AWS tooling
156
163
run : |
157
164
pip3 install -U setuptools
Original file line number Diff line number Diff line change 42
42
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
43
43
echo "TARGET=${{ matrix.target }}" >> $GITHUB_ENV
44
44
echo "SKIP_TESTS=" >> $GITHUB_ENV
45
+ echo "LZMA_API_STATIC=1" >> $GITHUB_ENV
45
46
- name : Cache cargo registry and git trees
46
47
uses : actions/cache@v2
47
48
with :
90
91
rustup target install "$TARGET"
91
92
- name : Run a full build and test
92
93
run : bash ci/run.bash
94
+ - name : Dump dynamic link targets
95
+ run : |
96
+ otool -L target/${TARGET}/release/rustup-init
97
+ if otool -L target/${TARGET}/release/rustup-init | grep -q -F /usr/local/; then
98
+ echo >&2 "Unfortunately there are /usr/local things in the link. Fail."
99
+ exit 1
100
+ fi
101
+ - name : Upload the built artifact
102
+ uses : actions/upload-artifact@v2
103
+ with :
104
+ name : rustup-init-${{ matrix.target }}
105
+ path : |
106
+ target/${{ matrix.target }}/release/rustup-init
107
+ retention-days : 7
93
108
- name : Acquire the AWS tooling
94
109
run : |
95
110
pip3 install awscli
Original file line number Diff line number Diff line change @@ -105,6 +105,13 @@ jobs:
105
105
rustup target install ${{ matrix.target }}
106
106
- name : Run a full build
107
107
run : bash ci/run.bash
108
+ - name : Upload the built artifact
109
+ uses : actions/upload-artifact@v2
110
+ with :
111
+ name : rustup-init-${{ matrix.target }}
112
+ path : |
113
+ target/${{ matrix.target }}/release/rustup-init.exe
114
+ retention-days : 7
108
115
- name : Acquire the AWS tooling
109
116
run : |
110
117
choco upgrade awscli
You can’t perform that action at this time.
0 commit comments