Skip to content

Commit

Permalink
temporarily disable MacOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
lmbsog0 committed Feb 12, 2024
1 parent 96af14f commit f2f04c5
Showing 1 changed file with 61 additions and 61 deletions.
122 changes: 61 additions & 61 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,35 +59,35 @@ jobs:
- run: |
go get github.com/antlr4-go/antlr/v4
go test ./cmd/a2l/...
test-mac:
runs-on: macos-latest-xlarge
needs:
- generate-antlr-sources
- generate-grpc-sources
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: antlr4
path: pkg/a2l/parser
- uses: actions/download-artifact@v3
with:
name: grpc
path: pkg/a2l
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: "1.21"
cache: true
- run: |
go get github.com/antlr4-go/antlr/v4
go test ./cmd/a2l/...
# test-mac:
# runs-on: macos-latest-xlarge
# needs:
# - generate-antlr-sources
# - generate-grpc-sources
# steps:
# - uses: actions/checkout@v4
# - uses: actions/download-artifact@v3
# with:
# name: antlr4
# path: pkg/a2l/parser
# - uses: actions/download-artifact@v3
# with:
# name: grpc
# path: pkg/a2l
# - name: Set up Go 1.21
# uses: actions/setup-go@v4
# with:
# go-version: "1.21"
# cache: true
# - run: |
# go get github.com/antlr4-go/antlr/v4
# go test ./cmd/a2l/...
build-linux:
runs-on: ubuntu-22.04
needs:
- test-linux
- test-windows
- test-mac
# - test-mac
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
Expand All @@ -112,7 +112,7 @@ jobs:
needs:
- test-linux
- test-windows
- test-mac
# - test-mac
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
Expand All @@ -139,7 +139,7 @@ jobs:
needs:
- test-linux
- test-windows
- test-mac
# - test-mac
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
Expand All @@ -159,36 +159,36 @@ jobs:
path: |
*.dll
*.h
build-mac:
runs-on: macos-latest-xlarge
needs:
- test-linux
- test-windows
- test-mac
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: antlr4
path: pkg/a2l/parser
- uses: actions/download-artifact@v3
with:
name: grpc
path: pkg/a2l
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: "1.21"
cache: true
- run: |
go get github.com/antlr4-go/antlr/v4
go build --buildmode=c-shared -o a2l_grpc_$(go env GOOS)_$(go env GOARCH).dylib ./cmd/a2l/a2l.go
- uses: actions/upload-artifact@v3
with:
name: mac
path: |
*.dylib
*.h
# build-mac:
# runs-on: macos-latest-xlarge
# needs:
# - test-linux
# - test-windows
# - test-mac
# steps:
# - uses: actions/checkout@v4
# - uses: actions/download-artifact@v3
# with:
# name: antlr4
# path: pkg/a2l/parser
# - uses: actions/download-artifact@v3
# with:
# name: grpc
# path: pkg/a2l
# - name: Set up Go 1.21
# uses: actions/setup-go@v4
# with:
# go-version: "1.21"
# cache: true
# - run: |
# go get github.com/antlr4-go/antlr/v4
# go build --buildmode=c-shared -o a2l_grpc_$(go env GOOS)_$(go env GOARCH).dylib ./cmd/a2l/a2l.go
# - uses: actions/upload-artifact@v4
# with:
# name: mac
# path: |
# *.dylib
# *.h
export-protobuf-definitions:
runs-on: ubuntu-22.04
steps:
Expand All @@ -206,7 +206,7 @@ jobs:
- build-linux
- build-windows-32
- build-windows-64
- build-mac
# - build-mac
- export-protobuf-definitions
if: startsWith(github.ref, 'refs/tags/v')
steps:
Expand All @@ -220,10 +220,10 @@ jobs:
with:
name: windows
path: a2l_grpc
- uses: actions/download-artifact@v3
with:
name: mac
path: a2l_grpc
# - uses: actions/download-artifact@v3
# with:
# name: mac
# path: a2l_grpc
- uses: actions/download-artifact@v3
with:
name: protobuf
Expand Down

0 comments on commit f2f04c5

Please sign in to comment.