ci: Switch to musl for homebrew linux (#347)

Move from gnu to musl to avoid glibc issues.
This commit is contained in:
Clement Tsang
2020-12-10 20:11:34 -05:00
committed by GitHub
parent aef386913e
commit 030f4ddd6a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -233,7 +233,7 @@ jobs:
asset_content_type: application/octet-stream
- name: Add download asset to artifact if required
if: matrix.triple.target == 'x86_64-unknown-linux-gnu' || matrix.triple.target == 'x86_64-pc-windows-msvc' || matrix.triple.target == 'i686-pc-windows-msvc' || matrix.triple.target == 'x86_64-apple-darwin'
if: matrix.triple.target == 'x86_64-unknown-linux-musl' || matrix.triple.target == 'x86_64-pc-windows-msvc' || matrix.triple.target == 'i686-pc-windows-msvc' || matrix.triple.target == 'x86_64-apple-darwin'
run: cp ${{ env.ASSET }} artifacts/
- name: Upload artifacts
@@ -370,7 +370,7 @@ jobs:
- name: Execute Homebrew packaging script
run: |
python "./deployment/packager.py" ${{ env.RELEASE_VERSION }} "./deployment/macos/homebrew/bottom.rb.template" "./bottom.rb" "SHA256" "./artifacts/bottom_x86_64-apple-darwin.tar.gz" "./artifacts/bottom_x86_64-unknown-linux-gnu.tar.gz";
python "./deployment/packager.py" ${{ env.RELEASE_VERSION }} "./deployment/macos/homebrew/bottom.rb.template" "./bottom.rb" "SHA256" "./artifacts/bottom_x86_64-apple-darwin.tar.gz" "./artifacts/bottom_x86_64-unknown-linux-musl.tar.gz";
- name: Upload bottom.rb to release
uses: actions/upload-release-asset@v1.0.1