Skip to content

Commit f2f04c5

Browse files
author
lmbsog0
committed
temporarily disable MacOS support
1 parent 96af14f commit f2f04c5

File tree

1 file changed

+61
-61
lines changed

1 file changed

+61
-61
lines changed

.github/workflows/build.yml

Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -59,35 +59,35 @@ jobs:
5959
- run: |
6060
go get github.com/antlr4-go/antlr/v4
6161
go test ./cmd/a2l/...
62-
test-mac:
63-
runs-on: macos-latest-xlarge
64-
needs:
65-
- generate-antlr-sources
66-
- generate-grpc-sources
67-
steps:
68-
- uses: actions/checkout@v3
69-
- uses: actions/download-artifact@v3
70-
with:
71-
name: antlr4
72-
path: pkg/a2l/parser
73-
- uses: actions/download-artifact@v3
74-
with:
75-
name: grpc
76-
path: pkg/a2l
77-
- name: Set up Go 1.21
78-
uses: actions/setup-go@v4
79-
with:
80-
go-version: "1.21"
81-
cache: true
82-
- run: |
83-
go get github.com/antlr4-go/antlr/v4
84-
go test ./cmd/a2l/...
62+
# test-mac:
63+
# runs-on: macos-latest-xlarge
64+
# needs:
65+
# - generate-antlr-sources
66+
# - generate-grpc-sources
67+
# steps:
68+
# - uses: actions/checkout@v4
69+
# - uses: actions/download-artifact@v3
70+
# with:
71+
# name: antlr4
72+
# path: pkg/a2l/parser
73+
# - uses: actions/download-artifact@v3
74+
# with:
75+
# name: grpc
76+
# path: pkg/a2l
77+
# - name: Set up Go 1.21
78+
# uses: actions/setup-go@v4
79+
# with:
80+
# go-version: "1.21"
81+
# cache: true
82+
# - run: |
83+
# go get github.com/antlr4-go/antlr/v4
84+
# go test ./cmd/a2l/...
8585
build-linux:
8686
runs-on: ubuntu-22.04
8787
needs:
8888
- test-linux
8989
- test-windows
90-
- test-mac
90+
# - test-mac
9191
steps:
9292
- uses: actions/checkout@v4
9393
- uses: actions/download-artifact@v3
@@ -112,7 +112,7 @@ jobs:
112112
needs:
113113
- test-linux
114114
- test-windows
115-
- test-mac
115+
# - test-mac
116116
steps:
117117
- uses: actions/checkout@v4
118118
- uses: actions/download-artifact@v3
@@ -139,7 +139,7 @@ jobs:
139139
needs:
140140
- test-linux
141141
- test-windows
142-
- test-mac
142+
# - test-mac
143143
steps:
144144
- uses: actions/checkout@v4
145145
- uses: actions/download-artifact@v3
@@ -159,36 +159,36 @@ jobs:
159159
path: |
160160
*.dll
161161
*.h
162-
build-mac:
163-
runs-on: macos-latest-xlarge
164-
needs:
165-
- test-linux
166-
- test-windows
167-
- test-mac
168-
steps:
169-
- uses: actions/checkout@v3
170-
- uses: actions/download-artifact@v3
171-
with:
172-
name: antlr4
173-
path: pkg/a2l/parser
174-
- uses: actions/download-artifact@v3
175-
with:
176-
name: grpc
177-
path: pkg/a2l
178-
- name: Set up Go 1.21
179-
uses: actions/setup-go@v4
180-
with:
181-
go-version: "1.21"
182-
cache: true
183-
- run: |
184-
go get github.com/antlr4-go/antlr/v4
185-
go build --buildmode=c-shared -o a2l_grpc_$(go env GOOS)_$(go env GOARCH).dylib ./cmd/a2l/a2l.go
186-
- uses: actions/upload-artifact@v3
187-
with:
188-
name: mac
189-
path: |
190-
*.dylib
191-
*.h
162+
# build-mac:
163+
# runs-on: macos-latest-xlarge
164+
# needs:
165+
# - test-linux
166+
# - test-windows
167+
# - test-mac
168+
# steps:
169+
# - uses: actions/checkout@v4
170+
# - uses: actions/download-artifact@v3
171+
# with:
172+
# name: antlr4
173+
# path: pkg/a2l/parser
174+
# - uses: actions/download-artifact@v3
175+
# with:
176+
# name: grpc
177+
# path: pkg/a2l
178+
# - name: Set up Go 1.21
179+
# uses: actions/setup-go@v4
180+
# with:
181+
# go-version: "1.21"
182+
# cache: true
183+
# - run: |
184+
# go get github.com/antlr4-go/antlr/v4
185+
# go build --buildmode=c-shared -o a2l_grpc_$(go env GOOS)_$(go env GOARCH).dylib ./cmd/a2l/a2l.go
186+
# - uses: actions/upload-artifact@v4
187+
# with:
188+
# name: mac
189+
# path: |
190+
# *.dylib
191+
# *.h
192192
export-protobuf-definitions:
193193
runs-on: ubuntu-22.04
194194
steps:
@@ -206,7 +206,7 @@ jobs:
206206
- build-linux
207207
- build-windows-32
208208
- build-windows-64
209-
- build-mac
209+
# - build-mac
210210
- export-protobuf-definitions
211211
if: startsWith(github.ref, 'refs/tags/v')
212212
steps:
@@ -220,10 +220,10 @@ jobs:
220220
with:
221221
name: windows
222222
path: a2l_grpc
223-
- uses: actions/download-artifact@v3
224-
with:
225-
name: mac
226-
path: a2l_grpc
223+
# - uses: actions/download-artifact@v3
224+
# with:
225+
# name: mac
226+
# path: a2l_grpc
227227
- uses: actions/download-artifact@v3
228228
with:
229229
name: protobuf

0 commit comments

Comments
 (0)