File tree Expand file tree Collapse file tree 6 files changed +18
-24
lines changed Expand file tree Collapse file tree 6 files changed +18
-24
lines changed Original file line number Diff line number Diff line change 69
69
rustup component add clippy
70
70
- name : Run the centos check within the docker image
71
71
run : |
72
- HERE=$(pwd)
73
72
docker run \
74
- --volume "$HERE ":/checkout:ro \
73
+ --volume "$PWD ":/checkout:ro \
75
74
--workdir /checkout \
76
75
--tty \
77
76
--init \
Original file line number Diff line number Diff line change @@ -93,15 +93,14 @@ jobs:
93
93
fi
94
94
- name : Run the build within the docker image
95
95
run : |
96
- HERE=$(pwd)
97
- mkdir -p "${HERE}/target"
98
- chown -R "$(id -u)":"$(id -g)" "${HERE}/target"
96
+ mkdir -p "${PWD}/target"
97
+ chown -R "$(id -u)":"$(id -g)" "${PWD}/target"
99
98
docker run \
100
99
--entrypoint sh \
101
100
--user "$(id -u)":"$(id -g)" \
102
101
--volume "$(rustc --print sysroot)":/rustc-sysroot:ro \
103
- --volume "${HERE }":/checkout:ro \
104
- --volume "${HERE }"/target:/checkout/target \
102
+ --volume "${PWD }":/checkout:ro \
103
+ --volume "${PWD }"/target:/checkout/target \
105
104
--workdir /checkout \
106
105
--env TARGET="${TARGET}" \
107
106
--env SKIP_TESTS="${SKIP_TESTS}" \
Original file line number Diff line number Diff line change @@ -88,15 +88,14 @@ jobs:
88
88
fi
89
89
- name : Run the build within the docker image
90
90
run : |
91
- HERE=$(pwd)
92
- mkdir -p "${HERE}/target"
93
- chown -R "$(id -u)":"$(id -g)" "${HERE}/target"
91
+ mkdir -p "${PWD}/target"
92
+ chown -R "$(id -u)":"$(id -g)" "${PWD}/target"
94
93
docker run \
95
94
--entrypoint sh \
96
95
--user "$(id -u)":"$(id -g)" \
97
96
--volume "$(rustc --print sysroot)":/rustc-sysroot:ro \
98
- --volume "${HERE }":/checkout:ro \
99
- --volume "${HERE }"/target:/checkout/target \
97
+ --volume "${PWD }":/checkout:ro \
98
+ --volume "${PWD }"/target:/checkout/target \
100
99
--workdir /checkout \
101
100
--env TARGET="${TARGET}" \
102
101
--env SKIP_TESTS="${SKIP_TESTS}" \
Original file line number Diff line number Diff line change @@ -107,15 +107,14 @@ jobs:
107
107
fi
108
108
- name : Run the build within the docker image
109
109
run : |
110
- HERE=$(pwd)
111
- mkdir -p "${HERE}/target"
112
- chown -R "$(id -u)":"$(id -g)" "${HERE}/target"
110
+ mkdir -p "${PWD}/target"
111
+ chown -R "$(id -u)":"$(id -g)" "${PWD}/target"
113
112
docker run \
114
113
--entrypoint sh \
115
114
--user "$(id -u)":"$(id -g)" \
116
115
--volume "$(rustc --print sysroot)":/rustc-sysroot:ro \
117
- --volume "${HERE }":/checkout:ro \
118
- --volume "${HERE }"/target:/checkout/target \
116
+ --volume "${PWD }":/checkout:ro \
117
+ --volume "${PWD }"/target:/checkout/target \
119
118
--workdir /checkout \
120
119
--env TARGET="${TARGET}" \
121
120
--env SKIP_TESTS="${SKIP_TESTS}" \
Original file line number Diff line number Diff line change 69
69
rustup component add clippy
70
70
- name : Run the centos check within the docker image
71
71
run : |
72
- HERE=$(pwd)
73
72
docker run \
74
- --volume "$HERE ":/checkout:ro \
73
+ --volume "$PWD ":/checkout:ro \
75
74
--workdir /checkout \
76
75
--tty \
77
76
--init \
Original file line number Diff line number Diff line change @@ -115,15 +115,14 @@ jobs:
115
115
fi
116
116
- name : Run the build within the docker image
117
117
run : |
118
- HERE=$(pwd)
119
- mkdir -p "${HERE}/target"
120
- chown -R "$(id -u)":"$(id -g)" "${HERE}/target"
118
+ mkdir -p "${PWD}/target"
119
+ chown -R "$(id -u)":"$(id -g)" "${PWD}/target"
121
120
docker run \
122
121
--entrypoint sh \
123
122
--user "$(id -u)":"$(id -g)" \
124
123
--volume "$(rustc --print sysroot)":/rustc-sysroot:ro \
125
- --volume "${HERE }":/checkout:ro \
126
- --volume "${HERE }"/target:/checkout/target \
124
+ --volume "${PWD }":/checkout:ro \
125
+ --volume "${PWD }"/target:/checkout/target \
127
126
--workdir /checkout \
128
127
--env TARGET="${TARGET}" \
129
128
--env SKIP_TESTS="${SKIP_TESTS}" \
You can’t perform that action at this time.
0 commit comments