mirror of https://gitlab.com/pamhyr/pamhyr2
ci: Enable windows package.
parent
41961a786e
commit
25a01682d4
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue