ci: Enable windows package.

results
Pierre-Antoine Rouby 2023-07-26 17:03:18 +02:00
parent 41961a786e
commit 25a01682d4
1 changed files with 23 additions and 23 deletions

View File

@ -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'