Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rpavlik committed Dec 1, 2023
1 parent d15c764 commit d2887ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .azure-pipelines/shared/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ parameters:
default: ""
- name: sourceDir
type: string
default: "$(Build.Repository.LocalPath)"
default: "$(Pipeline.Workspace)"
- name: buildDir
type: string
default: "$(Build.BinariesDirectory)"

steps:
- checkout: self
lfs: true
- script: "rm -rf ${{ parameters.sourceDir }}/${{ parameters.buildDir }}"
- script: "echo \"source ${{ parameters.sourceDir }} build ${{ parameters.buildDir }}\""
- script: "rm -rf ${{ parameters.buildDir }}"
displayName: "Clean up build directory"

- script: "cmake -G Ninja -S . -B ${{ parameters.buildDir }} -DCMAKE_BUILD_TYPE=${{ parameters.buildType }} ${{ parameters.cmakeArgs }}"
Expand Down

0 comments on commit d2887ac

Please sign in to comment.