]> Git Repo - VerusCoin.git/blobdiff - .gitlab-ci.yml
use gcc 8
[VerusCoin.git] / .gitlab-ci.yml
index b1547d04eb1d25e277d4323178f3c312225bc72a..91cb75dee3d286f1884810082eb83a2566db384d 100644 (file)
@@ -6,7 +6,7 @@ stages:
 ####START####                                     PROJECT LEVEL VARIABLES                                  ####START####
 ########################################################################################################################
 variables:
-  VERSION: 0.6.2-2
+  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
@@ -16,7 +16,7 @@ variables:
   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####
 ########################################################################################################################
@@ -38,8 +38,8 @@ build:linux:
     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
@@ -127,7 +127,6 @@ build:windows:
       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
@@ -158,7 +157,16 @@ build:mac:
       - 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}"
@@ -365,26 +373,6 @@ deploy:
       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}
This page took 0.02487 seconds and 4 git commands to generate.