File tree 1 file changed +30
-1
lines changed
1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change 25
25
- os : macos-14
26
26
goarch : arm64
27
27
runs-on : ${{ matrix.os }}
28
+ outputs :
29
+ version : ${{ steps.version.outputs.version }}
28
30
steps :
29
31
- name : Install Dependencies
30
32
run : |
@@ -119,8 +121,35 @@ jobs:
119
121
with :
120
122
name : darwin-${{ matrix.goarch }}-double-zipped-${{ steps.version.outputs.version }}
121
123
path : build/tinygo${{ steps.version.outputs.version }}.darwin-${{ matrix.goarch }}.tar.gz
124
+ smoke-test-macos :
125
+ runs-on : macos-latest # this is arm64
126
+ needs : build-macos
127
+ steps :
128
+ - name : Checkout
129
+ uses : actions/checkout@v4
130
+ - name : Install Go
131
+ uses : actions/setup-go@v5
132
+ with :
133
+ go-version : ' 1.24'
134
+ cache : true
135
+ - name : Download release artifact
136
+ uses : actions/download-artifact@v4
137
+ with :
138
+ name : darwin-arm64-double-zipped-${{ needs.build-macos.outputs.version }}
139
+ - name : Extract release tarball
140
+ run : |
141
+ mkdir -p ~/lib
142
+ tar -C ~/lib -xf tinygo${{ needs.build-macos.outputs.version }}.darwin-arm64.tar.gz
143
+ ln -s ~/lib/tinygo/bin/tinygo ~/go/bin/tinygo
122
144
- name : Smoke tests
123
- run : make smoketest TINYGO=$(PWD)/build/tinygo
145
+ run : |
146
+ tinygo version
147
+ tinygo env
148
+ echo -n "PWD: "
149
+ pwd
150
+ ls -l ~/lib/tinygo
151
+ TINYGOROOT=/Users/runner/work/tinygo/tinygo make smoketest
152
+ exit 1 # this is a test
124
153
test-macos-homebrew :
125
154
name : homebrew-install
126
155
runs-on : macos-latest
You can’t perform that action at this time.
0 commit comments