Factor out CI variables into separate file

This helps to re-use these variables in different pipelines.
This commit is contained in:
Philipp Wagner 2020-08-20 09:26:55 +01:00 committed by Philipp Wagner
parent ab1e6d4dc6
commit 6fca2c4aac
2 changed files with 14 additions and 5 deletions

View file

@ -6,11 +6,7 @@
# Documentation at https://aka.ms/yaml
variables:
VERILATOR_VERSION: 4.032
RISCV_TOOLCHAIN_TAR_VERSION: 20200626-1
RISCV_TOOLCHAIN_TAR_VARIANT: lowrisc-toolchain-gcc-rv32imcb
RISCV_COMPLIANCE_GIT_VERSION: 844c6660ef3f0d9b96957991109dfd80cc4938e2
VERIBLE_VERSION: v0.0-493-g617b404
- template: ci/vars.yml
trigger:
batch: true

13
ci/vars.yml Normal file
View file

@ -0,0 +1,13 @@
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# Pipeline variables, used by the public and private CI pipelines
# Quote values to ensure they are parsed as string (version numbers might
# end up as float otherwise).
variables:
VERILATOR_VERSION: "4.032"
RISCV_TOOLCHAIN_TAR_VERSION: "20200626-1"
RISCV_TOOLCHAIN_TAR_VARIANT: "lowrisc-toolchain-gcc-rv32imcb"
RISCV_COMPLIANCE_GIT_VERSION: "844c6660ef3f0d9b96957991109dfd80cc4938e2"
VERIBLE_VERSION: "v0.0-493-g617b404"