Skip to content

Commit

Permalink
release: Fix "Verify release" job on macOS GitHub Actions runner (#514)
Browse files Browse the repository at this point in the history
fixes #513

* Install Subversion explicitly
* Because recent macOS GitHub Actions runner doesn't provide Subversion
by default
* Add support for installing Julia for macOS (Apple Silicon)
  * Because the current `macos-latest` is macOS (Apple Silicon)
  • Loading branch information
kou authored Aug 6, 2024
1 parent 7825543 commit 1c826b1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
- ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
if: matrix.os == 'macos-latest'
run: |
brew install julia subversion
- name: Create
run: |
git config user.name "github-actions[bot]"
Expand Down
13 changes: 6 additions & 7 deletions dev/release/verify_rc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ latest_julia_version() {
--location \
--show-error \
--silent \
https://api.github.com/repos/JuliaLang/julia/releases | \
https://api.github.com/repos/JuliaLang/julia/releases/latest | \
grep -o '"tag_name": "v.*"' | \
head -n 1 | \
sed -e 's/^"tag_name": "v//g' \
Expand All @@ -132,12 +132,11 @@ ensure_julia() {
Darwin)
julia_binary_url+="/mac"
case "$(arch)" in
# TODO
# aarch64)
# julia_binary_url+="/aarch64"
# julia_binary_url+="/${julia_version_series}"
# julia_binary_url+="/julia-${julia_version}-macaarch64.dmg"
# ;;
arm64)
julia_binary_url+="/aarch64"
julia_binary_url+="/${julia_version_series}"
julia_binary_url+="/julia-${julia_version}-macaarch64.tar.gz"
;;
i386)
julia_binary_url+="/x64"
julia_binary_url+="/${julia_version_series}"
Expand Down

0 comments on commit 1c826b1

Please sign in to comment.