mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-27 03:01:52 -04:00
35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
parameters:
|
|
- name: checkoutRepo
|
|
type: string
|
|
default: 'self'
|
|
- name: checkoutRef
|
|
type: string
|
|
default: ''
|
|
|
|
jobs:
|
|
- job: rocm_core
|
|
variables:
|
|
- group: common
|
|
- template: /.azuredevops/variables-global.yml
|
|
pool:
|
|
vmImage: ${{ variables.BASE_BUILD_POOL }}
|
|
workspace:
|
|
clean: all
|
|
steps:
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
|
parameters:
|
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
|
parameters:
|
|
extraBuildFlags: >-
|
|
-DCMAKE_CURRENT_BINARY_DIR=$PWD
|
|
-DCMAKE_CURRENT_SOURCE_DIR=$PWD/../
|
|
-DCMAKE_VERBOSE_MAKEFILE=1
|
|
-DCPACK_GENERATOR=DEB
|
|
-DCPACK_DEBIAN_PACKAGE_RELEASE="local.9999~99.99"
|
|
-DCPACK_RPM_PACKAGE_RELEASE="local.9999"
|
|
-DROCM_VERSION="$(next-release)"
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|