Debian Codegraph @

.circleci/config.yml

raw
1 version: 2.1
2
3 parameters:
4 GHA_Actor:
5 type: string
6 default: ""
7 GHA_Action:
8 type: string
9 default: ""
10 GHA_Event:
11 type: string
12 default: ""
13 GHA_Meta:
14 type: string
15 default: ""
16
17 workflows:
18 build:
19 when:
20 equal: ['build-linux-arm', << pipeline.parameters.GHA_Action >>]
21 jobs:
22 - build-linux:
23 filters:
24 tags:
25 only: /.*/
26 name: 'Linux arm64v8'
27 image_tag: 'linux-arm64v8'
28 arch: 'arm64'
29 - build-linux:
30 filters:
31 tags:
32 only: /.*/
33 name: 'Linux arm32v7'
34 image_tag: 'linux-arm32v7'
35 arch: 'arm32v7'
36
37 jobs:
38 build-linux:
39 parameters:
40 image_tag:
41 type: string
42 arch:
43 type: string
44
45 resource_class: arm.medium
46 machine:
47 image: ubuntu-2004:current
48
49 steps:
50 - checkout
51 - run:
52 name: "Build"
53 command: |
54 docker run \
55 -v "$PWD":/build \
56 -w /build \
57 realnc/qtads-build:<< parameters.image_tag >> \
58 bash -c '(
59 set -ex
60 qmake
61 make appimage
62 )'
63 mv *.AppImage /tmp/QTads-Linux-<< parameters.arch >>.AppImage
64
65 - when:
66 condition: << pipeline.git.tag >>
67 steps:
68 - store_artifacts:
69 path: /tmp/QTads-Linux-<< parameters.arch >>.AppImage
70 destination: QTads-Linux-<< parameters.arch >>.AppImage