File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -100,3 +100,28 @@ jobs:
100
100
- name : Smoke tests
101
101
shell : bash
102
102
run : make smoketest TINYGO=$(PWD)/build/tinygo AVR=0
103
+ test-macos-homebrew :
104
+ name : homebrew-install
105
+ runs-on : macos-latest
106
+ steps :
107
+ - name : Install Go
108
+ uses : actions/setup-go@v2
109
+ with :
110
+ go-version : ' 1.18'
111
+ - name : Install LLVM
112
+ shell : bash
113
+ run : |
114
+ HOMEBREW_NO_AUTO_UPDATE=1 brew install llvm@14
115
+ - name : Checkout
116
+ uses : actions/checkout@v2
117
+ - name : Cache Go
118
+ uses : actions/cache@v2
119
+ with :
120
+ key : go-cache-macos-homebrew-v1-${{ hashFiles('go.mod') }}
121
+ path : |
122
+ ~/Library/Caches/go-build
123
+ ~/go/pkg/mod
124
+ - name : Build TinyGo
125
+ run : go install
126
+ - name : Check binary
127
+ run : tinygo version
You can’t perform that action at this time.
0 commit comments