dnceng
dnceng copied to clipboard
`eng/common/native/install-cmake.sh` Incompatible with macOS in arcade-validation
In https://github.com/dotnet/arcade-validation/pull/4575, I attempted to add a macOS leg to arcade-validation. This is needed to complete https://github.com/dotnet/arcade/issues/14431, which is focused on enabling signing on Mac and Linux machines.
Upon running the new macOS leg, the build fails with the following errors:
/Users/runner/work/1/s/eng/common/native/install-cmake.sh --baseuri https://netcorenativeassets.blob.core.windows.net/resource-packages/external --installpath /Users/runner/work/1/s/.tools/bin --version 3.11.1
downloading to: /Users/runner/.netcoreeng/native/temp/cmake-3.11.1-MacOS-x86_64.tar.gz
Downloading https://netcorenativeassets.blob.core.windows.net/resource-packages/external/macos/cmake/cmake-3.11.1-MacOS-x86_64.tar.gz
extracting from /Users/runner/.netcoreeng/native/temp/cmake-3.11.1-MacOS-x86_64.tar.gz to /Users/runner/work/1/s/.tools/bin/cmake/3.11.1
Extracting /Users/runner/.netcoreeng/native/temp/cmake-3.11.1-MacOS-x86_64.tar.gz to /Users/runner/work/1/s/.tools/bin/cmake/3.11.1
Creating directory: '/Users/runner/work/1/s/.tools/bin/cmake/3.11.1'
Extracting archive
Generating '/Users/runner/work/1/s/.tools/bin/cmake.sh' shim
/Users/runner/work/1/s/eng/common/native/common-library.sh: line 154: Write-PipelineTelemetryError: command not found
/Users/runner/work/1/s/eng/common/native/install-cmake.sh: line 113: Write-PipelineTelemetryError: command not found
After speaking with @dougbu - we have discussed the following options to fix the build error:
- update the macOS package to match the Linux package's layout
- extend the install-cmake.sh script to support either package layout
- choose yet-another tool -- hopefully one w/ archive layouts that match between Linux and macOS
It was also discussed that something other than cmake-test
may be chosen as the second tool.
Release Note Category
- [ ] Feature changes/additions
- [ ] Bug fixes
- [ ] Internal Infrastructure Improvements