@@ -15,13 +15,14 @@ jobs:
15
15
setup_and_update :
16
16
runs-on : ${{ matrix.os }}
17
17
strategy :
18
- # fail-fast: false
18
+ fail-fast : false
19
19
matrix :
20
- os : [macos-latest]
20
+ # macos-13 is for intel silicon mac.
21
+ # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
22
+ os : [macos-latest, macos-13]
21
23
timeout-minutes : 60
22
24
steps :
23
25
- name : workaround setup for github runner macos
24
- if : runner.os == 'macOS'
25
26
run : |-
26
27
# https://github.com/sensuikan1973/dotfiles/pull/125#issuecomment-1502177344
27
28
brew unlink python@3.11 && brew link --overwrite python@3.11
@@ -52,10 +53,12 @@ jobs:
52
53
- name : 2nd, run setup script
53
54
run : cd ~/dotfiles && ./setup.sh
54
55
56
+ - run : which zsh
57
+
55
58
- name : rough command test
56
59
# See: https://docs.github.com/ja/actions/learn-github-actions/environment-variables
57
60
# See: etc/shells and https://github.com/actions/runner-images/issues/2187
58
- shell : /usr/local/bin/ zsh {0}
61
+ shell : zsh {0}
59
62
run : |-
60
63
echo "$SHELL"
61
64
set -euxo pipefail
@@ -89,21 +92,27 @@ jobs:
89
92
ruby --version
90
93
# pod --version
91
94
openssl --version
95
+ flutter doctor
96
+ dart --version
97
+ code --version
98
+ gcloud --version
99
+ gcloud config list
92
100
93
101
- name : upgrade_system_deps test
94
- shell : /usr/local/bin/ zsh {0}
102
+ shell : zsh {0}
95
103
run : |-
96
104
echo "$SHELL"
97
105
set -euxo pipefail
98
106
source "$HOME/.zshrc"
107
+ zsh --version
99
108
echo "$GITHUB_HEAD_REF"
109
+ # https://github.com/sensuikan1973/dotfiles/pull/159#issuecomment-2136927932
110
+ rm -f /opt/homebrew/bin/rbenv-install || true
111
+ rm -f /opt/homebrew/bin/rbenv || true
112
+ # https://github.com/sensuikan1973/dotfiles/pull/159#issuecomment-2138433241
113
+ rm -f /opt/homebrew/bin/nodenv-install || true
114
+ rm -f /opt/homebrew/bin/nodenv || true
100
115
upgrade_system_deps -branch "$GITHUB_HEAD_REF"
101
- flutter doctor
102
- dart --version
103
- code --version
104
- gcloud --version
105
- gcloud config list
106
- # upgrade_all_softwareupdate
107
116
108
117
# # session for debug
109
118
# - name: setup tmate session for debug ssh
0 commit comments