Skip to content

Commit

Permalink
[ci] fix github macos-12 runner gcc version
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Aug 18, 2024
1 parent 66c8e88 commit ca52abd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
run: |
gcc -v
if [ "$RUNNER_OS" == "macOS" ]; then
make -C src oct CC=gcc-11 CXX=g++-11 USERLINKOPT="-v -s"
make -C src oct CC=gcc-12 CXX=g++-12 USERLINKOPT="-v -s"
otool -L zipmat.mex
#upx -9 zipmat.mex || true
else
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
make -C src mex CC=gcc CXX=g++ MEX="cmd //s //c mex -f mexopts_msys2_gcc.xml " USERLINKOPT="-v " CXXLIBS="-Lblosc2/lib -L/blosc2/internal-complibs/zstd-1.5.2"
objdump -p zipmat.mexw* | grep "DLL Name:"
elif [[ "$RUNNER_OS" == "macOS" ]]; then
make -C src mex CC=gcc-11 CXX=g++-11 MEXLINKOPT="-static-libstdc++"
make -C src mex CC=gcc-12 CXX=g++-12 MEXLINKOPT="-static-libstdc++"
otool -L zipmat.mex*
upx -9 zipmat.mex* || true
else
Expand Down

0 comments on commit ca52abd

Please sign in to comment.