Skip to content

Commit a8d50db

Browse files
committed
build: remove dynamic library on macOS
1 parent ac732af commit a8d50db

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,13 @@ jobs:
159159
run: |
160160
go build -tags grpcnotrace,nomsgpack -o go-judge ./cmd/go-judge
161161
go build -o go-judge-shell ./cmd/go-judge-shell
162-
- name: Build shared object on macOS
163-
if: ${{ matrix.os == 'macos-latest' && matrix.GOARCH == 'amd64' }}
164-
env:
165-
GOARCH: ${{ matrix.GOARCH }}
166-
CGO_ENABLE: 1
167-
run: |
168-
go build -buildmode=c-shared -o go-judge.dylib ./cmd/go-judge-ffi
162+
# - name: Build shared object on macOS
163+
# if: ${{ matrix.os == 'macos-latest' && matrix.GOARCH == 'amd64' }}
164+
# env:
165+
# GOARCH: ${{ matrix.GOARCH }}
166+
# CGO_ENABLE: 1
167+
# run: |
168+
# go build -buildmode=c-shared -o go-judge.dylib ./cmd/go-judge-ffi
169169
- name: Upload go-judge on macOS
170170
if: ${{ matrix.os == 'macos-latest' }}
171171
uses: actions/upload-artifact@v4
@@ -178,9 +178,9 @@ jobs:
178178
with:
179179
name: go-judge-shell-MacOS-${{ matrix.GOARCH }}
180180
path: go-judge-shell
181-
- name: Upload go-judge.dylib on macOS
182-
if: ${{ matrix.os == 'macos-latest' && matrix.GOARCH == 'amd64' }}
183-
uses: actions/upload-artifact@v4
184-
with:
185-
name: go-judge-${{ matrix.GOARCH }}.dylib
186-
path: go-judge.dylib
181+
# - name: Upload go-judge.dylib on macOS
182+
# if: ${{ matrix.os == 'macos-latest' && matrix.GOARCH == 'amd64' }}
183+
# uses: actions/upload-artifact@v4
184+
# with:
185+
# name: go-judge-${{ matrix.GOARCH }}.dylib
186+
# path: go-judge.dylib

0 commit comments

Comments
 (0)