Skip to content

Commit c6a6ce1

Browse files
committed
[ci] disable upx on macos
1 parent 6dab30f commit c6a6ce1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/run_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
sudo mv upx-4.1.0-amd64_linux/upx /usr/bin
2929
rm -rf upx-4.1.0-amd64_linux upx.tar.xz
3030
fi
31-
[[ "$RUNNER_OS" == "macOS" ]] && brew install octave upx
31+
[[ "$RUNNER_OS" == "macOS" ]] && brew install octave
3232
if [[ "$RUNNER_OS" == "Windows" ]]; then
3333
choco install upx
3434
which upx
@@ -164,7 +164,7 @@ jobs:
164164
sudo mv upx-4.1.0-amd64_linux/upx /usr/bin || true
165165
rm -rf upx-4.1.0-amd64_linux upx.tar.xz || true
166166
fi
167-
[[ "$RUNNER_OS" == "macOS" ]] && brew install upx
167+
#[[ "$RUNNER_OS" == "macOS" ]] && brew install upx
168168
[[ "$RUNNER_OS" == "Windows" ]] && choco install upx
169169
echo "installed upx"
170170
- name: Set up MATLAB
@@ -193,7 +193,7 @@ jobs:
193193
elif [[ "$RUNNER_OS" == "macOS" ]]; then
194194
make -C src mex CC=gcc-12 CXX=g++-12 MEXLINKOPT="-static-libstdc++"
195195
otool -L zipmat.mex*
196-
upx -9 zipmat.mex* || true
196+
#upx -9 zipmat.mex* || true
197197
else
198198
make -C src mex CC=gcc CXX=g++ MEXLINKOPT="-static-libgcc -static-libstdc++ -Wl,-Bstatic -lz -Wl,-Bdynamic" MEX="mex -v"
199199
ldd zipmat.mex*

0 commit comments

Comments
 (0)