mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-08-11 07:02:23 +08:00
update pipeline-20241025.yml
This commit is contained in:
parent
31db0eb36c
commit
195e6cc053
55
.workflow/pipeline-20241025.yml
Normal file
55
.workflow/pipeline-20241025.yml
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
version: '1.0'
|
||||||
|
name: pipeline-20241025
|
||||||
|
displayName: Debian-Build-amd64
|
||||||
|
triggers:
|
||||||
|
trigger: manual
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
prefix:
|
||||||
|
- ''
|
||||||
|
stages:
|
||||||
|
- name: stage-d1472d18
|
||||||
|
displayName: Build DEB
|
||||||
|
strategy: naturally
|
||||||
|
trigger: auto
|
||||||
|
executor: []
|
||||||
|
steps:
|
||||||
|
- step: execute@docker
|
||||||
|
name: execute_by_docker
|
||||||
|
displayName: Build Debian amd64
|
||||||
|
certificate: ''
|
||||||
|
image: docker.io/debian:bookworm
|
||||||
|
command:
|
||||||
|
- export DEBIAN_FRONTEND=noninteractive
|
||||||
|
- 'apt install devscripts '
|
||||||
|
- apt build-dep . -y
|
||||||
|
- dpkg-buildpackage -b -us -uc
|
||||||
|
- cd ..
|
||||||
|
- ls -all
|
||||||
|
- mkdir target
|
||||||
|
- for f in $(find . -type f -name "*.deb")
|
||||||
|
- 'do '
|
||||||
|
- mv $f target
|
||||||
|
- done
|
||||||
|
- ''
|
||||||
|
artifacts:
|
||||||
|
- name: BUILD_ARTIFACT
|
||||||
|
path:
|
||||||
|
- ./target
|
||||||
|
notify: []
|
||||||
|
strategy:
|
||||||
|
retry: '0'
|
||||||
|
- name: stage-41e41b9f
|
||||||
|
displayName: push
|
||||||
|
strategy: naturally
|
||||||
|
trigger: auto
|
||||||
|
executor: []
|
||||||
|
steps:
|
||||||
|
- step: publish@general_artifacts
|
||||||
|
name: publish_general_artifacts
|
||||||
|
displayName: 上传制品
|
||||||
|
dependArtifact: BUILD_ARTIFACT
|
||||||
|
artifactName: output
|
||||||
|
notify: []
|
||||||
|
strategy:
|
||||||
|
retry: '0'
|
Loading…
x
Reference in New Issue
Block a user