mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-18 02:42:34 +01:00
Merge branch 'krille/linux-arm64' into 'main'
CI: Add Linux arm64 runner See merge request famedly/fluffychat!406
This commit is contained in:
commit
e07e5fd313
@ -155,7 +155,7 @@ pages:
|
|||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
build_linux:
|
build_linux_x86:
|
||||||
stage: coverage
|
stage: coverage
|
||||||
before_script:
|
before_script:
|
||||||
[
|
[
|
||||||
@ -167,6 +167,16 @@ build_linux:
|
|||||||
paths:
|
paths:
|
||||||
- build/linux/release/bundle/
|
- build/linux/release/bundle/
|
||||||
|
|
||||||
|
build_linux_arm64:
|
||||||
|
stage: coverage
|
||||||
|
script: [./scripts/build-linux.sh]
|
||||||
|
tags: [docker_arm64]
|
||||||
|
only: [main]
|
||||||
|
artifacts:
|
||||||
|
when: on_success
|
||||||
|
paths:
|
||||||
|
- build/linux/arm64/release/bundle/
|
||||||
|
|
||||||
snap:edge:
|
snap:edge:
|
||||||
stage: release
|
stage: release
|
||||||
image: "snapcore/snapcraft"
|
image: "snapcore/snapcraft"
|
||||||
@ -175,8 +185,8 @@ snap:edge:
|
|||||||
only: [main]
|
only: [main]
|
||||||
before_script: [sudo apt install git -y]
|
before_script: [sudo apt install git -y]
|
||||||
script: [./scripts/publish-snap-edge.sh]
|
script: [./scripts/publish-snap-edge.sh]
|
||||||
needs: ["build_linux"]
|
needs: ["build_linux_x86"]
|
||||||
dependencies: ["build_linux"]
|
dependencies: ["build_linux_x86"]
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "./*.snap"
|
- "./*.snap"
|
||||||
@ -190,7 +200,7 @@ snap:publish:
|
|||||||
only: [tags]
|
only: [tags]
|
||||||
before_script: [sudo apt install git -y]
|
before_script: [sudo apt install git -y]
|
||||||
script: [./scripts/publish-snap-stable.sh]
|
script: [./scripts/publish-snap-stable.sh]
|
||||||
needs: ["build_linux"]
|
needs: ["build_linux_x86"]
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "./*.snap"
|
- "./*.snap"
|
||||||
@ -244,13 +254,20 @@ upload-web:
|
|||||||
- |
|
- |
|
||||||
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file package.tar.gz ${PACKAGE_REGISTRY_URL}/fluffychat-web.tar.gz
|
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file package.tar.gz ${PACKAGE_REGISTRY_URL}/fluffychat-web.tar.gz
|
||||||
|
|
||||||
upload-linux:
|
upload-linux-x86:
|
||||||
extends: .release
|
extends: .release
|
||||||
script:
|
script:
|
||||||
- tar czf package.tar.gz -C build/linux/release/bundle/ .
|
- tar czf package.tar.gz -C build/linux/release/bundle/ .
|
||||||
- |
|
- |
|
||||||
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file package.tar.gz ${PACKAGE_REGISTRY_URL}/fluffychat-linux.tar.gz
|
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file package.tar.gz ${PACKAGE_REGISTRY_URL}/fluffychat-linux.tar.gz
|
||||||
|
|
||||||
|
upload-linux-arm64:
|
||||||
|
extends: .release
|
||||||
|
script:
|
||||||
|
- tar czf package.tar.gz -C build/linux/arm64/release/bundle/ .
|
||||||
|
- |
|
||||||
|
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file package.tar.gz ${PACKAGE_REGISTRY_URL}/fluffychat-linux.tar.gz
|
||||||
|
|
||||||
upload-windows:
|
upload-windows:
|
||||||
extends: .release
|
extends: .release
|
||||||
script:
|
script:
|
||||||
|
Loading…
Reference in New Issue
Block a user