ci: Disable windows build.

results
Pierre-Antoine Rouby 2023-07-26 11:41:23 +02:00
parent e9f490f076
commit 41961a786e
1 changed files with 24 additions and 27 deletions

View File

@ -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,13 +85,14 @@ 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:
paths: paths:
- packages/pamhyr-gnulinux-amd64.tar.xz - packages/pamhyr-gnulinux-amd64.tar.xz
- packages/pamhyr-win-amd64.exe
script: script:
- cd packages - cd packages
# - ./linux.sh # - ./linux.sh
@ -107,11 +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 (zip)' # - name: 'Windows amd64 (exe)'
# url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/packages/pamhyr-win-amd64.zip' # url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/packages/pamhyr-win-amd64.exe'
# filepath: '/packages/pamhyr-win-amd64.zip' # filepath: '/packages/pamhyr-win-amd64.exe'
# link_type: 'Packages' # 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'