Merge branch 'feature/parallel-pipelines' into 'dev'
Run gitlab-ci pipeline stages in parallel See merge request ligolang/ligo!324
This commit is contained in:
commit
d964b057e1
@ -12,7 +12,8 @@ stages:
|
|||||||
- build_and_deploy_website
|
- build_and_deploy_website
|
||||||
|
|
||||||
.build_binary: &build_binary
|
.build_binary: &build_binary
|
||||||
stage: build_and_package_binaries
|
# To run in sequence and save CPU usage, use stage: build_and_package_binaries
|
||||||
|
stage: test
|
||||||
script:
|
script:
|
||||||
- $build_binary_script "$target_os_family" "$target_os" "$target_os_version"
|
- $build_binary_script "$target_os_family" "$target_os" "$target_os_version"
|
||||||
- $package_binary_script "$target_os_family" "$target_os" "$target_os_version"
|
- $package_binary_script "$target_os_family" "$target_os" "$target_os_version"
|
||||||
@ -23,6 +24,11 @@ stages:
|
|||||||
.website_build: &website_build
|
.website_build: &website_build
|
||||||
stage: build_and_deploy_website
|
stage: build_and_deploy_website
|
||||||
image: node:8
|
image: node:8
|
||||||
|
dependencies:
|
||||||
|
- build-and-package-debian-9
|
||||||
|
- build-and-package-debian-10
|
||||||
|
- build-and-package-ubuntu-18-04
|
||||||
|
- build-and-package-ubuntu-19-04
|
||||||
before_script:
|
before_script:
|
||||||
- scripts/install_native_dependencies.sh
|
- scripts/install_native_dependencies.sh
|
||||||
- scripts/install_opam.sh # TODO: or scripts/install_build_environment.sh ?
|
- scripts/install_opam.sh # TODO: or scripts/install_build_environment.sh ?
|
||||||
@ -122,7 +128,8 @@ build-and-publish-latest-docker-image:
|
|||||||
# based on desired targets
|
# based on desired targets
|
||||||
build-and-package-debian-9:
|
build-and-package-debian-9:
|
||||||
<<: *docker
|
<<: *docker
|
||||||
stage: build_and_package_binaries
|
# To run in sequence and save CPU usage, use stage: build_and_package_binaries
|
||||||
|
stage: test
|
||||||
variables:
|
variables:
|
||||||
target_os_family: "debian"
|
target_os_family: "debian"
|
||||||
target_os: "debian"
|
target_os: "debian"
|
||||||
@ -131,7 +138,8 @@ build-and-package-debian-9:
|
|||||||
|
|
||||||
build-and-package-debian-10:
|
build-and-package-debian-10:
|
||||||
<<: *docker
|
<<: *docker
|
||||||
stage: build_and_package_binaries
|
# To run in sequence and save CPU usage, use stage: build_and_package_binaries
|
||||||
|
stage: test
|
||||||
variables:
|
variables:
|
||||||
target_os_family: "debian"
|
target_os_family: "debian"
|
||||||
target_os: "debian"
|
target_os: "debian"
|
||||||
@ -140,7 +148,8 @@ build-and-package-debian-10:
|
|||||||
|
|
||||||
build-and-package-ubuntu-18-04:
|
build-and-package-ubuntu-18-04:
|
||||||
<<: *docker
|
<<: *docker
|
||||||
stage: build_and_package_binaries
|
# To run in sequence and save CPU usage, use stage: build_and_package_binaries
|
||||||
|
stage: test
|
||||||
variables:
|
variables:
|
||||||
target_os_family: "debian"
|
target_os_family: "debian"
|
||||||
target_os: "ubuntu"
|
target_os: "ubuntu"
|
||||||
@ -149,7 +158,8 @@ build-and-package-ubuntu-18-04:
|
|||||||
|
|
||||||
build-and-package-ubuntu-19-04:
|
build-and-package-ubuntu-19-04:
|
||||||
<<: *docker
|
<<: *docker
|
||||||
stage: build_and_package_binaries
|
# To run in sequence and save CPU usage, use stage: build_and_package_binaries
|
||||||
|
stage: test
|
||||||
variables:
|
variables:
|
||||||
target_os_family: "debian"
|
target_os_family: "debian"
|
||||||
target_os: "ubuntu"
|
target_os: "ubuntu"
|
||||||
|
Loading…
Reference in New Issue
Block a user