Skip to content

Commit

Permalink
rm macOS amd64 builds from CI/releases
Browse files Browse the repository at this point in the history
  • Loading branch information
tersec committed Dec 10, 2024
1 parent 57157a6 commit 0cdfca9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 86 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ jobs:
- os: linux
cpu: amd64
evmc: evmc
- os: macos
cpu: amd64
evmc: evmc
- os: macos
cpu: arm64
evmc: evmc
Expand All @@ -51,9 +48,6 @@ jobs:
- os: windows
cpu: amd64
evmc: nimvm
- os: macos
cpu: amd64
evmc: nimvm
- os: macos
cpu: arm64
evmc: nimvm
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/fluffy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ jobs:
target:
- os: linux
cpu: amd64
# - os: linux
# cpu: i386
- os: macos
cpu: amd64
- os: windows
Expand Down
46 changes: 1 addition & 45 deletions .github/workflows/nightly_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,45 +140,6 @@ jobs:
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_execution_client.sha512sum
retention-days: 2

build-macos-amd64:
name: macOS AMD64 release asset
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- name: Build project
id: make_dist
run: |
make dist-macos
cd dist
ARCHIVE=$(echo *.tar.gz)
tar -xzf ${ARCHIVE}
NEW_ARCHIVE_DIR="nimbus-eth1_macOS_amd64_$(date +%Y%m%d)_$(git rev-parse --short=8 HEAD)"
mv ${ARCHIVE%.tar.gz} ${NEW_ARCHIVE_DIR}
tar -czf ${NEW_ARCHIVE_DIR}.tar.gz ${NEW_ARCHIVE_DIR}
cp ${NEW_ARCHIVE_DIR}.tar.gz nimbus-eth1_macOS_amd64_nightly_latest.tar.gz
echo "archive=${NEW_ARCHIVE_DIR}.tar.gz" >> $GITHUB_OUTPUT
echo "archive_dir=${NEW_ARCHIVE_DIR}" >> $GITHUB_OUTPUT
- name: Upload archive artefact
uses: actions/upload-artifact@v4
with:
name: macOS_amd64_archive
path: |
./dist/${{ steps.make_dist.outputs.archive }}
./dist/nimbus-eth1_macOS_amd64_nightly_latest.tar.gz
retention-days: 2

- name: Upload checksum artefact
uses: actions/upload-artifact@v4
with:
name: macOS_amd64_checksum
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_execution_client.sha512sum
retention-days: 2

build-macos-arm64:
name: macOS ARM64 release asset
runs-on: ubuntu-latest
Expand Down Expand Up @@ -220,7 +181,7 @@ jobs:

prepare-prerelease:
name: Prepare pre-release
needs: [build-amd64, build-arm64, build-win64, build-macos-amd64, build-macos-arm64]
needs: [build-amd64, build-arm64, build-win64, build-macos-arm64]
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -244,8 +205,6 @@ jobs:
cat Linux_arm64_checksum/* >> release_notes.md
echo '# Windows AMD64' >> release_notes.md
cat Windows_amd64_checksum/* >> release_notes.md
echo '# macOS AMD64' >> release_notes.md
cat macOS_amd64_checksum/* >> release_notes.md
echo '# macOS ARM64' >> release_notes.md
cat macOS_arm64_checksum/* >> release_notes.md
echo '```' >> release_notes.md
Expand All @@ -263,7 +222,6 @@ jobs:
Linux_amd64_archive/*
Linux_arm64_archive/*
Windows_amd64_archive/*
macOS_amd64_archive/*
macOS_arm64_archive/*
- name: Delete artefacts
Expand All @@ -277,8 +235,6 @@ jobs:
Linux_arm64_checksum
Windows_amd64_archive
Windows_amd64_checksum
macOS_amd64_archive
macOS_amd64_checksum
macOS_arm64_archive
macOS_arm64_checksum
34 changes: 1 addition & 33 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,33 +137,6 @@ jobs:
name: Windows_amd64_checksum
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_execution_client.sha512sum
retention-days: 2
build-macos-amd64:
name: macOS AMD64 release asset
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build project
id: make_dist
run: |
make dist-macos
cd dist
ARCHIVE=$(echo nimbus-eth1_macOS_amd64_*.tar.gz)
echo "archive=${ARCHIVE}" >> $GITHUB_OUTPUT
echo "archive_dir=${ARCHIVE%.tar.gz}" >> $GITHUB_OUTPUT
tar -xzf ${ARCHIVE} ${ARCHIVE%.tar.gz}/build/nimbus_execution_client.sha512sum
- name: Upload archive artefact
uses: actions/upload-artifact@v4
with:
name: macOS_amd64_archive
path: ./dist/${{ steps.make_dist.outputs.archive }}
retention-days: 2
- name: Upload checksum artefact
uses: actions/upload-artifact@v4
with:
name: macOS_amd64_checksum
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_execution_client.sha512sum
retention-days: 2
build-macos-arm64:
name: macOS ARM64 release asset
runs-on: ubuntu-latest
Expand Down Expand Up @@ -193,7 +166,7 @@ jobs:
retention-days: 2
prepare-release:
name: Prepare release draft
needs: [build-amd64, build-arm64, build-win64, build-macos-amd64, build-macos-arm64]
needs: [build-amd64, build-arm64, build-win64, build-macos-arm64]
runs-on: ubuntu-latest
steps:
- name: Download artefacts
Expand All @@ -213,8 +186,6 @@ jobs:
cat Linux_arm64_checksum/* >> release_notes.md
echo '# Windows AMD64' >> release_notes.md
cat Windows_amd64_checksum/* >> release_notes.md
echo '# macOS AMD64' >> release_notes.md
cat macOS_amd64_checksum/* >> release_notes.md
echo '# macOS ARM64' >> release_notes.md
cat macOS_arm64_checksum/* >> release_notes.md
echo '```' >> release_notes.md
Expand All @@ -231,7 +202,6 @@ jobs:
Linux_amd64_archive/*
Linux_arm64_archive/*
Windows_amd64_archive/*
macOS_amd64_archive/*
macOS_arm64_archive/*
- name: Delete artefacts
uses: geekyeggo/delete-artifact@v1
Expand All @@ -244,8 +214,6 @@ jobs:
Linux_arm64_checksum
Windows_amd64_archive
Windows_amd64_checksum
macOS_amd64_archive
macOS_amd64_checksum
macOS_arm64_archive
macOS_arm64_checksum
Expand Down

0 comments on commit 0cdfca9

Please sign in to comment.