File tree Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change 2525 - os : macos-14
2626 goarch : arm64
2727 runs-on : ${{ matrix.os }}
28+ outputs :
29+ version : ${{ steps.version.outputs.version }}
2830 steps :
2931 - name : Install Dependencies
3032 run : |
@@ -119,8 +121,35 @@ jobs:
119121 with :
120122 name : darwin-${{ matrix.goarch }}-double-zipped-${{ steps.version.outputs.version }}
121123 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
122144 - 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
124153 test-macos-homebrew :
125154 name : homebrew-install
126155 runs-on : macos-latest
You can’t perform that action at this time.
0 commit comments