Skip to content

Commit 70f510f

Browse files
committed
test build
1 parent d56c03e commit 70f510f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/build_and_publish_test.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,17 @@ jobs:
205205
cd rapidyenc && ./build_rapidyenc_linux-amd64.sh
206206
# Note: May need Alpine-specific build script
207207
208+
- name: "Build rapidyenc (macOS)"
209+
if: matrix.os == 'darwin'
210+
timeout-minutes: 5
211+
run: |
212+
cd rapidyenc
213+
if [ "${{ matrix.arch }}" = "amd64" ]; then
214+
./crossbuild_rapidyenc_darwin-amd64.sh || ./build_rapidyenc_linux-amd64.sh darwin
215+
else if [ "${{ matrix.arch }}" = "arm64" ]; then
216+
./build_rapidyenc_linux-arm64.sh darwin
217+
fi
218+
208219
# Run tests with race detector for supported platforms
209220
- name: "Run race detector tests (amd64/linux only)"
210221
if: matrix.os == 'linux' && matrix.arch == 'amd64' && !matrix.cross_compile
@@ -305,7 +316,7 @@ jobs:
305316
cat builds/${{ matrix.name }}/usr/bin/$binary_name.sha512sum
306317
fi
307318
#
308-
# packing the build (only create zip and deb)
319+
# packing the build (only create zip and deb for now)
309320
#
310321
# .zip
311322
pwd && ls -lha && echo ".zip Packing builds/${{ matrix.name }}/usr/bin/$binary_name"

0 commit comments

Comments
 (0)