blob: 2d83284ad3c35fa358e7aea506220e504c06a144 [file] [log] [blame]
Harrison Mutaia91f70f2023-12-06 15:17:07 +00001- job:
2 name: tf-a-windows-builder
3 node: tf-a-windows
4 project-type: matrix
5 concurrent: true
6 disabled: false
7 description: |
8 Trusted Firmware A (TF-A) Windows hosted builder
9 properties:
10 - throttle:
11 enabled: true
12 max-per-node: 10
13 max-total: 10
14 option: project
15 - build-discarder:
16 days-to-keep: 15
Harrison Mutaia91f70f2023-12-06 15:17:07 +000017 axes:
18 - axis:
19 name: DEBUG
20 type: user-defined
Chris Kaybb674402025-06-24 15:20:02 +010021 values:
22 - "0"
23 - "1"
Harrison Mutaia91f70f2023-12-06 15:17:07 +000024 - axis:
25 name: label
26 type: slave
27 values:
28 - tf-a-windows
29 builders:
Chris Kaybb674402025-06-24 15:20:02 +010030 - shell: |
Paul Sokolovskye49c2db2024-08-10 22:46:43 +030031 #!C:\msys64\usr\bin\env.exe OSTYPE="msys" bash -x
32 make -j $(nproc) CROSS_COMPILE=aarch64-none-elf- PLAT=fvp DEBUG=$DEBUG V=1 all
Harrison Mutaia91f70f2023-12-06 15:17:07 +000033 parameters:
34 - string:
35 name: TF_GERRIT_PROJECT
36 default: TF-A/trusted-firmware-a
37 - string:
38 name: TF_GERRIT_BRANCH
Chris Kayd322c4e2025-08-06 09:16:56 +010039 default: refs/heads/master
Harrison Mutaia91f70f2023-12-06 15:17:07 +000040 - string:
41 name: TF_SRC_REPO_URL
42 default: https://review.trustedfirmware.org/TF-A/trusted-firmware-a
43 - string:
44 name: TF_GERRIT_REFSPEC
45 default: +refs/heads/master:refs/remotes/origin/master
46 - string:
Harrison Mutaia91f70f2023-12-06 15:17:07 +000047 name: MBEDTLS_URL
Chris Kayc1aa7ba2025-06-12 16:56:38 +010048 default: https://github.com/Mbed-TLS/mbedtls/archive/mbedtls-3.6.3.tar.gz
Harrison Mutaia91f70f2023-12-06 15:17:07 +000049 - string:
50 name: PARAMS
51 description: Debug parameters for make
52 - string:
53 name: SHARE_FOLDER
Chris Kayc1aa7ba2025-06-12 16:56:38 +010054 default: /srv/shared/staging/${JOB_NAME}/${BUILD_NUMBER}
Harrison Mutaia91f70f2023-12-06 15:17:07 +000055 description: Folder containing shared repositories for downstream pipeline jobs
56 wrappers:
57 - timestamps
58 - workspace-cleanup
59 - timeout:
60 timeout: 120
61 fail: true
Harrison Mutaia91f70f2023-12-06 15:17:07 +000062 publishers:
63 - archive:
64 artifacts: build/**/*
65 excludes: build/**/*.o,build/**/*.d
66 scm:
67 - git:
68 url: ${TF_SRC_REPO_URL}
69 refspec: ${TF_GERRIT_REFSPEC}
70 branches:
71 - ${TF_GERRIT_BRANCH}
72 choosing-strategy: gerrit
73 skip-tag: true
74 shallow-clone: true
75 wipe-workspace: false
76 honor-refspec: true
77 allow-empty: true