diff --git a/.pipelines/foundry-local-packaging.yml b/.pipelines/foundry-local-packaging.yml index bf05607f..ac2927f1 100644 --- a/.pipelines/foundry-local-packaging.yml +++ b/.pipelines/foundry-local-packaging.yml @@ -203,12 +203,13 @@ extends: parameters: repoName: neutron-server ref: refs/heads/${{ parameters.neutronServerBranch }} + # AcesShared macOS agents don't have git-lfs pre-installed. + # Must be installed before checking out test-data-shared so LFS files are pulled. + - script: brew install git-lfs && git lfs install + displayName: 'Install Git LFS' - template: .pipelines/templates/checkout-steps.yml@self parameters: repoName: test-data-shared - # AcesShared macOS agents don't have git-lfs pre-installed - - script: brew install git-lfs && git lfs install - displayName: 'Install Git LFS' - template: .pipelines/templates/build-core-steps.yml@self parameters: flavor: osx-arm64 diff --git a/.pipelines/templates/build-core-steps.yml b/.pipelines/templates/build-core-steps.yml index c21e0b92..d4521720 100644 --- a/.pipelines/templates/build-core-steps.yml +++ b/.pipelines/templates/build-core-steps.yml @@ -119,8 +119,7 @@ steps: projects: '$(nsRoot)/src/FoundryLocalCore/Core/Core.csproj' arguments: '--no-restore -r ${{ parameters.flavor }} /p:Platform=${{ parameters.platform }} /p:IncludeWebService=true /p:Configuration=Release' - # FLC tests on osx-arm64 are flaky in CI, will investigate separately. Skip for now since the main goal of this job is to produce the AOT binary. - - ${{ if or(eq(parameters.flavor, 'win-x64'), eq(parameters.flavor, 'linux-x64')) }}: + - ${{ if or(eq(parameters.flavor, 'win-x64'), eq(parameters.flavor, 'linux-x64'), eq(parameters.flavor, 'osx-arm64')) }}: - task: DotNetCoreCLI@2 displayName: 'Restore FLC Tests ${{ parameters.flavor }}' inputs: