Skip to content

Commit 638a6e7

Browse files
authored
refactor(ci): remove discontinued macos-13 (#5012) (#5013)
1 parent 90ed89d commit 638a6e7

File tree

3 files changed

+4
-84
lines changed

3 files changed

+4
-84
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ A clear and concise description of what you expected to happen.
2323
If applicable, add screenshots to help explain your problem.
2424

2525
**Environment (please complete the following information):**
26-
- OS: [Linux, MacOS]
26+
- OS: [Linux flavour]
27+
- CPU architecture[x86-64, ARM]
2728
- Go environment [ ```go env``` ]
2829

2930
**Additional context**

.github/workflows/ci-tag.yaml

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
if: needs.check.outputs.tag_annotated == 'true'
4343
strategy:
4444
matrix:
45-
os: [ubuntu-22.04, macos-13, [self-hosted, linux, ARM64]]
45+
os: [ubuntu-22.04, [self-hosted, linux, ARM64]]
4646

4747
steps:
4848
- name: Import GPG key
@@ -103,23 +103,6 @@ jobs:
103103
mv ./bin/harmony ./bin/harmony-arm64
104104
working-directory: harmony
105105

106-
- name: Build harmony binary and packages for MacOS
107-
if: matrix.os == 'macos-13'
108-
run: |
109-
brew install bash
110-
sudo rm -f /usr/local/opt/openssl
111-
sudo ln -sf /usr/local/opt/openssl@1.1 /usr/local/opt/openssl
112-
# hack for older chip (macos)
113-
sudo mkdir -p /opt/homebrew/opt
114-
sudo ln -sf /usr/local/opt/openssl@1.1 /opt/homebrew/opt/openssl@1.1
115-
sudo ln -sf /usr/local/opt/gmp /opt/homebrew/opt/gmp
116-
make
117-
cd ./bin && mkdir ./lib && mv ./*.dylib ./lib && rm -f ./bootnode
118-
gpg --detach-sign harmony
119-
zip -qr ./harmony-macos.zip ./*
120-
rm -rf `ls * | egrep -v harmony-macos.zip`
121-
working-directory: harmony
122-
123106
- name: Upload artifact
124107
uses: actions/upload-artifact@v4
125108
with:
@@ -233,11 +216,6 @@ jobs:
233216
run: |
234217
gpg --detach-sign harmony-arm64
235218
sha256sum harmony-arm64 >> harmony-arm64.sha256
236-
237-
- name: Signed amd64 harmony binary
238-
run: |
239-
shasum -a 256 harmony-macos.zip >> harmony-macos.zip.sha256
240-
241219
- name: Get tag message
242220
env:
243221
TAG_SHA: ${{ github.event.after }}
@@ -349,22 +327,3 @@ jobs:
349327
asset_name: harmony-arm64.sig
350328
asset_content_type: application/octet-stream
351329

352-
- name: Upload harmony binary for MacOS
353-
uses: actions/upload-release-asset@v1
354-
env:
355-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
356-
with:
357-
upload_url: ${{ steps.create_release.outputs.upload_url }}
358-
asset_path: ./harmony-macos.zip
359-
asset_name: harmony-macos-${{ env.build_version }}.zip
360-
asset_content_type: application/zip
361-
362-
- name: Upload sha256 signature of harmony for MacOS
363-
uses: actions/upload-release-asset@v1
364-
env:
365-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
366-
with:
367-
upload_url: ${{ steps.create_release.outputs.upload_url }}
368-
asset_path: ./harmony-macos.zip.sha256
369-
asset_name: harmony-macos.zip.sha256
370-
asset_content_type: text/plain

.github/workflows/ci.yaml

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
if: needs.check.outputs.tag_annotated == 'true'
4141
strategy:
4242
matrix:
43-
os: [ubuntu-22.04, macos-13, [self-hosted, linux, ARM64]]
43+
os: [ubuntu-22.04, [self-hosted, linux, ARM64]]
4444

4545
steps:
4646
- name: Import GPG key
@@ -101,23 +101,6 @@ jobs:
101101
mv ./bin/harmony ./bin/harmony-arm64
102102
working-directory: harmony
103103

104-
- name: Build harmony binary and packages for MacOS
105-
if: matrix.os == 'macos-13'
106-
run: |
107-
brew install bash
108-
sudo rm -f /usr/local/opt/openssl
109-
sudo ln -sf /usr/local/opt/openssl@1.1 /usr/local/opt/openssl
110-
# hack for older chip (macos)
111-
sudo mkdir -p /opt/homebrew/opt
112-
sudo ln -sf /usr/local/opt/openssl@1.1 /opt/homebrew/opt/openssl@1.1
113-
sudo ln -sf /usr/local/opt/gmp /opt/homebrew/opt/gmp
114-
make
115-
cd ./bin && mkdir ./lib && mv ./*.dylib ./lib && rm -f ./bootnode
116-
gpg --detach-sign harmony
117-
zip -qr ./harmony-macos.zip ./*
118-
rm -rf `ls * | egrep -v harmony-macos.zip`
119-
working-directory: harmony
120-
121104
- name: Upload artifact
122105
uses: actions/upload-artifact@v4
123106
with:
@@ -232,10 +215,6 @@ jobs:
232215
gpg --detach-sign harmony-arm64
233216
sha256sum harmony-arm64 >> harmony-arm64.sha256
234217
235-
- name: Signed amd64 harmony binary
236-
run: |
237-
shasum -a 256 harmony-macos.zip >> harmony-macos.zip.sha256
238-
239218
- name: Get tag message
240219
env:
241220
TAG_SHA: ${{ github.event.after }}
@@ -347,22 +326,3 @@ jobs:
347326
asset_name: harmony-arm64.sig
348327
asset_content_type: application/octet-stream
349328

350-
- name: Upload harmony binary for MacOS
351-
uses: actions/upload-release-asset@v1
352-
env:
353-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
354-
with:
355-
upload_url: ${{ steps.create_release.outputs.upload_url }}
356-
asset_path: ./harmony-macos.zip
357-
asset_name: harmony-macos-${{ env.build_version }}.zip
358-
asset_content_type: application/zip
359-
360-
- name: Upload sha256 signature of harmony for MacOS
361-
uses: actions/upload-release-asset@v1
362-
env:
363-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
364-
with:
365-
upload_url: ${{ steps.create_release.outputs.upload_url }}
366-
asset_path: ./harmony-macos.zip.sha256
367-
asset_name: harmony-macos.zip.sha256
368-
asset_content_type: text/plain

0 commit comments

Comments
 (0)