Commit 25a01682 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

ci: Enable windows package.

Showing with 23 additions and 23 deletions
+23 -23
......@@ -55,23 +55,23 @@ linux-package:
- cd packages
- ./linux.sh
# windows-package:
# stage: package
# tags:
# - release
# - wine
# needs:
# - job: build-lang
# artifacts: true
# # rules:
# # - if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
# # when: never
# artifacts:
# paths:
# - packages/pamhyr-win-amd64.exe
# script:
# - cd packages
# - ./windows.bat
windows-package:
stage: package
tags:
- release
- wine
needs:
- job: build-lang
artifacts: true
# rules:
# - if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
# when: never
artifacts:
paths:
- packages/pamhyr-win-amd64.exe
script:
- cd packages
- ./windows.bat
###########
# RELEASE #
......@@ -85,8 +85,8 @@ tag-release:
needs:
- job: linux-package
artifacts: true
# - job: windows-package
# artifacts: true
- job: windows-package
artifacts: true
rules:
- if: $CI_COMMIT_TAG
artifacts:
......@@ -108,7 +108,7 @@ tag-release:
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/packages/pamhyr-gnulinux-amd64.tar.xz'
filepath: '/packages/pamhyr-gnulinux-amd64.tar.xz'
link_type: 'other'
# - name: 'Windows amd64 (exe)'
# url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/packages/pamhyr-win-amd64.exe'
# filepath: '/packages/pamhyr-win-amd64.exe'
# link_type: 'other'
- name: 'Windows amd64 (exe)'
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/packages/pamhyr-win-amd64.exe'
filepath: '/packages/pamhyr-win-amd64.exe'
link_type: 'other'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment