File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -381,3 +381,34 @@ jobs:
381381 with :
382382 name : android-arm32-libopus.so
383383 path : ./build/libopus.so
384+
385+ MacOS_Build_x64 :
386+ runs-on : macos-latest
387+ steps :
388+ - uses : actions/checkout@v4
389+
390+ - name : Clone Repository
391+ run : git clone https://github.com/xiph/opus.git
392+
393+ - name : Install AutoConf, AutoMake and LibTool # Needed for autogen.sh
394+ run : brew install autoconf automake libtool
395+
396+ - name : Autogen
397+ run : ./opus/autogen.sh
398+
399+ - name : Create Build Dir
400+ run : mkdir build
401+
402+ - name : Configure
403+ working-directory : ./build
404+ run : cmake ../opus -DCMAKE_BUILD_TYPE=Release -DOPUS_BUILD_PROGRAMS=ON -DBUILD_TESTING=ON -DBUILD_SHARED_LIBS=ON
405+
406+ - name : Build
407+ working-directory : ./build
408+ run : cmake --build . -j 2 --config Release --target package
409+
410+ - name : Upload Artifact
411+ uses : actions/upload-artifact@v4
412+ with :
413+ name : macos-x64-opus.a
414+ path : ./build/Release/opus.a
You can’t perform that action at this time.
0 commit comments