[vlc-commits] [Git][videolan/vlc][3.0.x] CI: Add Windows release jobs

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Thu Feb 24 10:01:26 UTC 2022



Hugo Beauzée-Luyssen pushed to branch 3.0.x at VideoLAN / VLC


Commits:
00a01eb2 by Hugo Beauzée-Luyssen at 2022-02-24T08:26:23+00:00
CI: Add Windows release jobs

- - - - -


1 changed file:

- extras/ci/gitlab-ci.yml


Changes:

=====================================
extras/ci/gitlab-ci.yml
=====================================
@@ -152,6 +152,45 @@ nightly-win64:
         name: $VLC_WIN64_IMAGE
     variables: *variables-win64
 
+.release-win-common:
+    # We don't use any of the .win-common template so just use .docker-template
+    extends: .docker-template
+    only:
+      - tags
+    tags:
+        - release
+        - amd64
+    before_script:
+      # We usually can use $CI_COMMIT_TAG, but this lets us do fixup tags
+      # such as 3.0.123-1
+      # This is done in a before_script because we want to bypass the
+      # prebuilt contrib logic but can't have an empty before_script
+      - export RELEASE_TAG=$(echo $CI_COMMIT_TAG | cut -f 1 -d -)
+    script:
+      - export PATH=/opt/breakpad/bin:$PATH
+      - ./extras/package/win32/build.sh -r -l -i u -a $HOST_ARCH -b https://win.crashes.videolan.org
+      - >
+        ./extras/breakpad/symb_upload.py
+        --upload-url $CRASH_DRAGON_SUBMIT_URL
+        -p win --version $RELEASE_TAG
+        --prod VLC --log INFO
+        --strip-path $CI_PROJECT_DIR $CI_PROJECT_DIR/$SHORTARCH/symbols-$RELEASE_TAG
+    artifacts:
+      paths:
+        - $CI_PROJECT_DIR/$SHORTARCH/vlc-*release.7z
+
+release-win32:
+    extends: .release-win-common
+    image:
+        name: $VLC_WIN32_IMAGE
+    variables: *variables-win32
+
+release-win64:
+    extends: .release-win-common
+    image:
+        name: $VLC_WIN64_IMAGE
+    variables: *variables-win64
+
 #
 # Debian
 #



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/00a01eb254a563fcc78e548785ab67f0255e258c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/00a01eb254a563fcc78e548785ab67f0255e258c
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list