diff options
Diffstat (limited to 'eng/build-job.yml')
-rw-r--r-- | eng/build-job.yml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/eng/build-job.yml b/eng/build-job.yml index 3a5425faaa..98710b42aa 100644 --- a/eng/build-job.yml +++ b/eng/build-job.yml @@ -4,6 +4,7 @@ parameters: osGroup: '' osGroupName: '' containerName: '' + crossrootfsDir: '' ### Product build jobs: @@ -21,6 +22,7 @@ jobs: # Run all steps in the container. # Note that the containers are resources defined in azure-pipelines.yml containerName: ${{ parameters.containerName }} + crossrootfsDir: ${{ parameters.crossrootfsDir }} steps: @@ -36,14 +38,8 @@ jobs: displayName: Install native dependencies # Build - - ${{ if and(and(ne(parameters.archType, 'arm'), ne(parameters.archType, 'arm64')), ne(parameters.osGroup, 'Windows_NT')) }}: - - script: ./build.sh $(buildConfig) $(archType) -skiptests - displayName: Build product - - ${{ if and(ne(parameters.osGroup, 'Windows_NT'), eq(parameters.archType, 'arm')) }}: - - script: ROOTFS_DIR=$(rootfsDir) CAC_ROOTFS_DIR=$(cacRootfsDir) ./build.sh $(buildConfig) $(archType) -cross -skiptests - displayName: Build product - - ${{ if and(ne(parameters.osGroup, 'Windows_NT'), eq(parameters.archType, 'arm64')) }}: - - script: ROOTFS_DIR=$(rootfsDir) ./build.sh $(buildConfig) $(archType) -cross -skiptests + - ${{ if ne(parameters.osGroup, 'Windows_NT') }}: + - script: ./build.sh $(buildConfig) $(archType) $(crossArg) -skiptests displayName: Build product - ${{ if eq(parameters.osGroup, 'Windows_NT') }}: # TODO: IBCOptimize? EnforcePGO? pass an OfficialBuildId? SignType? file logging parameters? |