####START#### PROJECT LEVEL VARIABLES ####START####
########################################################################################################################
variables:
- VERSION: 0.6.2-1
+ VERSION: 0.6.5-dev-13
VERUS_CLI_ARM64_LINUX: Verus-CLI-Linux-v${VERSION}-arm64.tar.gz
VERUS_CLI_LINUX_AMD64: Verus-CLI-Linux-v${VERSION}-amd64.tar.gz
VERUS_CLI_WINDOWS: Verus-CLI-Windows-v${VERSION}.zip
Pipeline Trigger: ${CI_PIPELINE_SOURCE}\n
Commit: https://github.com/VerusCoin/VerusCoin/commit/${CI_COMMIT_SHA}\n
${CI_COMMIT_MESSAGE}"
- STRIP_BINARIES: "true"
+ STRIP_BINARIES: "false"
########################################################################################################################
####END#### PROJECT LEVEL VARIABLES ####END####
########################################################################################################################
paths:
- depends
script:
- - scl enable devtoolset-7 sh
- - source /opt/rh/devtoolset-7/enable
+ - scl enable devtoolset-8 sh
+ - source /opt/rh/devtoolset-8/enable
- zcutil/build.sh -j$(nproc)
- if [ "${STRIP_BINARIES}" = "true" ]; then strip --strip-unneeded src/verus && strip --strip-unneeded src/verusd; fi
- mkdir verus-cli
src/verusd.exe
doc/man/verus-cli/windows/README.txt
zcutil/fetch-params.bat
- zcutil/wget64.exe
verus-cli
- if [ "${STRIP_BINARIES}" = "true" ]; then strip --strip-unneeded verus-cli/verusd.exe && strip --strip-unneeded verus-cli/verus.exe; fi
- zip -r ${VERUS_CLI_WINDOWS} verus-cli
- depends
script:
- zcutil/build-mac.sh -j$(sysctl -n hw.physicalcpu)
- - ./makeReleaseMac.sh
+ - mkdir verus-cli
+ - cp src/verus \
+ src/verusd \
+ doc/man/verus-cli/mac/README.txt \
+ zcutil/fetch-params.sh \
+ verus-cli
+ - mv verus-cli/fetch-params.sh verus-cli/fetch-params
+ - chmod +x verus-cli/fetch-params
+ - chmod +x verus-cli/verus
+ - chmod +x verus-cli/verusd
- tar -czvf ${VERUS_CLI_MACOS} verus-cli
- shasum -a 256 ${VERUS_CLI_MACOS} > ${VERUS_CLI_MACOS}.sha256
- curl -F file=@"${VERUS_CLI_MACOS}"
- build:mac
- build:linux:arm64
script:
- - mkdir Windows && mkdir Linux && mkdir MacOS &&
- cp ${VERUS_CLI_WINDOWS} Windows &&
- cp ${VERUS_CLI_LINUX_AMD64} Linux &&
- cp ${VERUS_CLI_MACOS} MacOS
+ - mkdir Windows && mkdir Linux && mkdir MacOS
+ - cp ${VERUS_CLI_WINDOWS} Windows
+ - cp ${VERUS_CLI_LINUX_AMD64} Linux
+ - cp ${VERUS_CLI_ARM64_LINUX} Linux
+ - cp ${VERUS_CLI_MACOS} MacOS
- echo "$AUTH_KEY" > AUTH_KEY.json &&
gcloud auth activate-service-account
--key-file AUTH_KEY.json
- gsutil cp -r Windows MacOS Linux $STAGING/${CI_PROJECT_NAME}/${CI_COMMIT_REF_NAME}
- - curl -X POST
- -F token="$CI_JOB_TOKEN"
- -F ref="$DOWNSTREAM_AGAMA_BRANCH"
- -F variables\[UPSTREAM_TRIGGER\]="${CI_PROJECT_NAME}"
- -F variables\[VERUS_VERSION\]="${VERSION}"
- -F variables\[UPSTREAM_CLI_BRANCH\]="${CI_COMMIT_REF_NAME}"
- -F variables\[VERUS_CLI_LINUX_AMD64\]="${CI_PROJECT_NAME}/${CI_COMMIT_REF_NAME}/Linux/${VERUS_CLI_LINUX_AMD64}"
- -F variables\[VERUS_CLI_WINDOWS\]="${CI_PROJECT_NAME}/${CI_COMMIT_REF_NAME}/Windows/${VERUS_CLI_WINDOWS}"
- -F variables\[VERUS_CLI_MACOS\]="${CI_PROJECT_NAME}/${CI_COMMIT_REF_NAME}/MacOS/${VERUS_CLI_MACOS}"
- "https://gitlab.com/api/v4/projects/12539166/trigger/pipeline"
- - curl -X POST
- -F token="$CI_JOB_TOKEN"
- -F ref="${CI_COMMIT_REF_NAME}"
- -F variables\[UPSTREAM_TRIGGER\]="${CI_PROJECT_NAME} ; ${CI_COMMIT_SHA}"
- -F variables\[VERUS_VERSION\]="${VERSION}"
- -F variables\[UPSTREAM_CLI_BRANCH\]="${CI_COMMIT_REF_NAME}"
- -F variables\[VERUS_CLI_LINUX_AMD64\]="${CI_PROJECT_NAME}/${CI_COMMIT_REF_NAME}/Linux/${VERUS_CLI_LINUX_AMD64}"
- -F variables\[VERUS_CLI_WINDOWS\]="${CI_PROJECT_NAME}/${CI_COMMIT_REF_NAME}/Windows/${VERUS_CLI_WINDOWS}"
- -F variables\[VERUS_CLI_MACOS\]="${CI_PROJECT_NAME}/${CI_COMMIT_REF_NAME}/MacOS/${VERUS_CLI_MACOS}"
- "https://gitlab.com/api/v4/projects/16158513/trigger/pipeline"
artifacts:
paths:
- ${VERUS_CLI_LINUX_AMD64}