forked from cramer/pcapmirror
bormal buld 64bit
This commit is contained in:
@@ -154,11 +154,8 @@ build-pios12:
|
|||||||
needs: []
|
needs: []
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
parallel:
|
|
||||||
matrix:
|
|
||||||
- BUILDER: [pios12, pios12-64]
|
|
||||||
tags:
|
tags:
|
||||||
- ${BUILDER}
|
- pios12
|
||||||
script:
|
script:
|
||||||
- tar -czf ../pcapmirror_0.3.orig.tar.gz --exclude=debian .
|
- tar -czf ../pcapmirror_0.3.orig.tar.gz --exclude=debian .
|
||||||
- apt-get update && apt-get install -y libpcap-dev
|
- apt-get update && apt-get install -y libpcap-dev
|
||||||
@@ -173,9 +170,43 @@ build-pios12:
|
|||||||
publish-pios12:
|
publish-pios12:
|
||||||
stage: publish
|
stage: publish
|
||||||
needs:
|
needs:
|
||||||
- "build-pios12: [pios12, pios12-64]"
|
- build-pios12
|
||||||
dependencies:
|
dependencies:
|
||||||
- "build-pios12: [pios12, pios12-64]"
|
- build-pios12
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
tags:
|
||||||
|
- bookworm
|
||||||
|
script:
|
||||||
|
- apt-get update && apt-get install -y curl
|
||||||
|
- ls -la build
|
||||||
|
- 'echo "Uploading to: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/pcapmirror/bookworm/pcapmirror_0.3-1_armhf.deb"'
|
||||||
|
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/pcapmirror_0.3-1_armhf.deb ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/pcapmirror/bookworm/pcapmirror_0.3-1_armhf.deb'
|
||||||
|
|
||||||
|
build-pios12-64:
|
||||||
|
stage: build
|
||||||
|
needs: []
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
tags:
|
||||||
|
- pios12-64
|
||||||
|
script:
|
||||||
|
- tar -czf ../pcapmirror_0.3.orig.tar.gz --exclude=debian .
|
||||||
|
- apt-get update && apt-get install -y libpcap-dev
|
||||||
|
- dpkg-buildpackage -uc -us
|
||||||
|
- mkdir -p build
|
||||||
|
- mv ../pcapmirror*.* build/
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- build
|
||||||
|
|
||||||
|
publish-pios12:
|
||||||
|
stage: publish
|
||||||
|
needs:
|
||||||
|
- build-pios12-64
|
||||||
|
dependencies:
|
||||||
|
- build-pios12-64
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
Reference in New Issue
Block a user