mirror of https://gitlab.com/pamhyr/pamhyr2
ci: Enable windows package.
parent
41961a786e
commit
25a01682d4
|
|
@ -55,23 +55,23 @@ linux-package:
|
||||||
- cd packages
|
- cd packages
|
||||||
- ./linux.sh
|
- ./linux.sh
|
||||||
|
|
||||||
# windows-package:
|
windows-package:
|
||||||
# stage: package
|
stage: package
|
||||||
# tags:
|
tags:
|
||||||
# - release
|
- release
|
||||||
# - wine
|
- wine
|
||||||
# needs:
|
needs:
|
||||||
# - job: build-lang
|
- job: build-lang
|
||||||
# artifacts: true
|
artifacts: true
|
||||||
# # rules:
|
# rules:
|
||||||
# # - if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
# - if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||||
# # when: never
|
# when: never
|
||||||
# artifacts:
|
artifacts:
|
||||||
# paths:
|
paths:
|
||||||
# - packages/pamhyr-win-amd64.exe
|
- packages/pamhyr-win-amd64.exe
|
||||||
# script:
|
script:
|
||||||
# - cd packages
|
- cd packages
|
||||||
# - ./windows.bat
|
- ./windows.bat
|
||||||
|
|
||||||
###########
|
###########
|
||||||
# RELEASE #
|
# RELEASE #
|
||||||
|
|
@ -85,8 +85,8 @@ tag-release:
|
||||||
needs:
|
needs:
|
||||||
- job: linux-package
|
- job: linux-package
|
||||||
artifacts: true
|
artifacts: true
|
||||||
# - job: windows-package
|
- job: windows-package
|
||||||
# artifacts: true
|
artifacts: true
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
@ -108,7 +108,7 @@ tag-release:
|
||||||
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/packages/pamhyr-gnulinux-amd64.tar.xz'
|
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/packages/pamhyr-gnulinux-amd64.tar.xz'
|
||||||
filepath: '/packages/pamhyr-gnulinux-amd64.tar.xz'
|
filepath: '/packages/pamhyr-gnulinux-amd64.tar.xz'
|
||||||
link_type: 'other'
|
link_type: 'other'
|
||||||
# - name: 'Windows amd64 (exe)'
|
- name: 'Windows amd64 (exe)'
|
||||||
# url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/packages/pamhyr-win-amd64.exe'
|
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/packages/pamhyr-win-amd64.exe'
|
||||||
# filepath: '/packages/pamhyr-win-amd64.exe'
|
filepath: '/packages/pamhyr-win-amd64.exe'
|
||||||
# link_type: 'other'
|
link_type: 'other'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue