@@ -138,9 +138,6 @@ check-line-width:
138
138
interruptible : true
139
139
allow_failure : true
140
140
141
-
142
-
143
-
144
141
check-polkadot-companion-build :
145
142
stage : build
146
143
<< : *docker-env
@@ -149,7 +146,6 @@ check-polkadot-companion-build:
149
146
interruptible : true
150
147
allow_failure : true
151
148
152
-
153
149
cargo-audit :
154
150
stage : test
155
151
<< : *docker-env
@@ -181,7 +177,6 @@ cargo-check-benches:
181
177
- BUILD_DUMMY_WASM_BINARY=1 time cargo +nightly check --benches --all
182
178
- sccache -s
183
179
184
-
185
180
cargo-check-subkey :
186
181
stage : test
187
182
<< : *docker-env
@@ -192,7 +187,6 @@ cargo-check-subkey:
192
187
- BUILD_DUMMY_WASM_BINARY=1 time cargo check --release
193
188
- sccache -s
194
189
195
-
196
190
test-linux-stable : &test-linux
197
191
stage : test
198
192
<< : *docker-env
@@ -361,6 +355,14 @@ test-full-crypto-feature:
361
355
- time cargo +nightly build --verbose --no-default-features --features full_crypto
362
356
- sccache -s
363
357
358
+ cargo-check-macos :
359
+ stage : test
360
+ << : *docker-env
361
+ script :
362
+ - BUILD_DUMMY_WASM_BINARY=1 time cargo check --release
363
+ - sccache -s
364
+ tags :
365
+ - osx
364
366
365
367
# ### stage: build
366
368
@@ -391,32 +393,39 @@ build-linux-substrate: &build-binary
391
393
echo "${CI_COMMIT_TAG}" | tee ./artifacts/substrate/VERSION;
392
394
else
393
395
./artifacts/substrate/substrate --version |
394
- sed -n -r 's/^substrate ([0-9.]+.*-[0-9a-f]{7,13})-.*$/\1/p' |
396
+ sed -n -E 's/^substrate ([0-9.]+.*-[0-9a-f]{7,13})-.*$/\1/p' |
395
397
tee ./artifacts/substrate/VERSION;
396
398
fi
397
399
- sha256sum ./artifacts/substrate/substrate | tee ./artifacts/substrate/substrate.sha256
398
400
- printf '\n# building node-template\n\n'
399
401
- ./.maintain/node-template-release.sh ./artifacts/substrate/substrate-node-template.tar.gz
400
- - cp -r .maintain/docker/substrate.Dockerfile ./artifacts/substrate/
401
402
- sccache -s
403
+
402
404
403
- build-linux-subkey :
405
+ build-linux-subkey : &build-subkey
404
406
<< : *build-binary
405
407
before_script :
406
408
- mkdir -p ./artifacts/subkey
407
409
script :
408
- - cd ./bin/utils/subkey
410
+ - cd ./bin/utils/subkey
409
411
- BUILD_DUMMY_WASM_BINARY=1 time cargo build --release --verbose
410
412
- cd -
411
413
- mv ./target/release/subkey ./artifacts/subkey/.
412
414
- echo -n "Subkey version = "
413
415
- ./artifacts/subkey/subkey --version |
414
- sed -n -r 's/^subkey ([0-9.]+.*)/\1/p' |
416
+ sed -n -E 's/^subkey ([0-9.]+.*)/\1/p' |
415
417
tee ./artifacts/subkey/VERSION;
416
418
- sha256sum ./artifacts/subkey/subkey | tee ./artifacts/subkey/subkey.sha256
417
- - cp -r .maintain/docker/subkey.Dockerfile ./artifacts/subkey/
418
419
- sccache -s
419
420
421
+ build-macos-subkey :
422
+ << : *build-subkey
423
+ only :
424
+ - master
425
+ - /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
426
+ tags :
427
+ - osx
428
+
420
429
build-rust-doc-release :
421
430
stage : build
422
431
<< : *docker-env
@@ -445,7 +454,6 @@ check-polkadot-companion-status:
445
454
- ./.maintain/gitlab/check_polkadot_companion_status.sh
446
455
447
456
448
-
449
457
trigger-contracts-ci :
450
458
stage : publish
451
459
needs :
0 commit comments