Add UCRT and fix timestamp
Add the UCRT build Add support for UCRT on AArch64, but still need more help getting that built with the zlib build failure Convert to a run command, instead of a build command, so that the timestamp of the tarball is more accurate
This commit is contained in:
+9
-4
@@ -20,13 +20,16 @@ build:
|
||||
needs:
|
||||
- job: check
|
||||
artifacts: true
|
||||
parallel:
|
||||
matrix:
|
||||
- ARCH: [x86, ucrt]
|
||||
tags:
|
||||
- nix
|
||||
script:
|
||||
- nix build -L
|
||||
- URL=$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/sword-utils/$TAG/sword-$TAG.tar.xz
|
||||
- nix build -L ".#${ARCH}"
|
||||
- URL=$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/sword-utils/$TAG/sword-${ARCH}-${TAG}.tar.xz
|
||||
- 'curl -i --fail-with-body --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file ./result/sword.tar.xz "${URL}"'
|
||||
- echo "X86_TARBALL=${URL}" > build.env
|
||||
- echo "${ARCH}_TARBALL=${URL}" > build.env
|
||||
artifacts:
|
||||
reports:
|
||||
dotenv: build.env
|
||||
@@ -42,9 +45,11 @@ build:
|
||||
script: echo "Tagging as released"
|
||||
release:
|
||||
name: Release $TAG
|
||||
tag_name: '$TAG'
|
||||
tag_name: "$TAG"
|
||||
description: Automatic SWORD utils build for Windows
|
||||
assets:
|
||||
links:
|
||||
- name: Windows (x86-64) release
|
||||
url: "${X86_TARBALL}"
|
||||
- name: Windows (x86-64) release with UCRT
|
||||
url: "${UCRT_TARBALL}"
|
||||
|
||||
Reference in New Issue
Block a user