summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci-edk2.yml
blob: 088ba4b43a33f86d3fbd35a400ac7fa6efbdb75f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
docker-edk2:
 stage: build
 rules: # Only run this job when the Dockerfile is modified
 - changes:
   - .gitlab-ci-edk2.yml
   - .gitlab-ci.d/edk2/Dockerfile
   when: always
 image: docker:19.03.1
 services:
 - docker:19.03.1-dind
 variables:
  GIT_DEPTH: 3
  IMAGE_TAG: $CI_REGISTRY_IMAGE:edk2-cross-build
  # We don't use TLS
  DOCKER_HOST: tcp://docker:2375
  DOCKER_TLS_CERTDIR: ""
 before_script:
 - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
 script:
 - docker pull $IMAGE_TAG || true
 - docker build --cache-from $IMAGE_TAG --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
                                        --tag $IMAGE_TAG .gitlab-ci.d/edk2
 - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
 - docker push $IMAGE_TAG

build-edk2:
 rules: # Only run this job when ...
 - changes: # ... roms/edk2/ is modified (submodule updated)
   - roms/edk2/*
   when: always
 - if: '$CI_COMMIT_REF_NAME =~ /^edk2/' # or the branch/tag starts with 'edk2'
   when: always
 - if: '$CI_COMMIT_MESSAGE =~ /edk2/i' # or last commit description contains 'EDK2'
   when: always
 artifacts:
   paths: # 'artifacts.zip' will contains the following files:
   - pc-bios/edk2*bz2
   - pc-bios/edk2-licenses.txt
   - edk2-stdout.log
   - edk2-stderr.log
 image: $CI_REGISTRY_IMAGE:edk2-cross-build
 variables:
   GIT_DEPTH: 3
 script: # Clone the required submodules and build EDK2
 - git submodule update --init roms/edk2
 - git -C roms/edk2 submodule update --init
 - export JOBS=$(($(getconf _NPROCESSORS_ONLN) + 1))
 - echo "=== Using ${JOBS} simultaneous jobs ==="
 - make -j${JOBS} -C roms efi 2>&1 1>edk2-stdout.log | tee -a edk2-stderr.log >&2
2df7695771'>usb: release the created busesMarc-André Lureau2017-03-011-0/+2 * usb: replace handle_destroy with unrealizeMarc-André Lureau2017-02-231-2/+2 * usb/uas: more verbose error messageGerd Hoffmann2017-02-061-1/+2 * usb-uas: hotplug supportGerd Hoffmann2016-06-221-0/+5 * usb: Clean up includesPeter Maydell2016-01-291-0/+1 * usb: usb-uas QOMifyGonglei2015-05-081-6/+9 * dev-uas: using error_report instead of fprintfGonglei2014-09-231-5/+6 * dev-uas: convert init to realizeGonglei2014-09-231-4/+2Star * usb: Remove magic constants from device bmAttributesPantelis Koukousoulas2014-02-181-2/+2 * uas: s/ui/iu/Hans de Goede2013-11-261-38/+38 * uas: Fix response iu struct definitionHans de Goede2013-11-261-10/+8Star * uas: Bounds check tags when using streamsHans de Goede2013-11-261-0/+14 * uas: Streams are numbered 1-y, rather then 0-xHans de Goede2013-11-261-3/+3 * uas: Fix / cleanup usb_uas_task error handlingHans de Goede2013-11-261-17/+3Star * uas: Only use report iu-s for task_mgmt status reportingHans de Goede2013-11-261-8/+22 * Merge remote-tracking branch 'kraxel/usb.88' into stagingAnthony Liguori2013-09-031-3/+12 |\ | * uas: add property for request loggingGerd Hoffmann2013-09-021-3/+12 * | scsi: Pass size to scsi_bus_new()Andreas Färber2013-08-301-1/+2 |/ * devices: Associate devices to their logical categoryMarcel Apfelbaum2013-07-291-0/+1 * scsi: add bus_name parameter to scsi_bus_new.KONRAD Frederic2013-05-031-1/+1 * hw: move headers to include/Paolo Bonzini2013-04-081-2/+2 * uas-uas: usb3 streamsGerd Hoffmann2013-02-191-42/+205 * usb-core: usb3 streamsGerd Hoffmann2013-02-191-1/+1 * Make all static TypeInfos constAndreas Färber2013-01-101-1/+1 * misc: move include files to include/qemu/Paolo Bonzini2012-12-191-2/+2 * usb: split packet result into actual_length + statusHans de Goede2012-11-081-20/+16Star * cleanup useless return sentenceAmos Kong2012-10-051-2/+0Star * uas: move transfer kickoffGerd Hoffmann2012-08-31