diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1dd155dd..b94019e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,7 +82,6 @@ jobs: run: | echo BINARY_NAME=bmf-bin-${{ runner.os }}-${{ matrix.arch }}-${{ matrix.py_ver_prefix }} >> $GITHUB_ENV echo BMF_PYTHON_VERSION=$(echo ${{ matrix.py_ver_prefix }} | cut -c 3).$(echo ${{ matrix.py_ver_prefix }} | cut -c 4-) >> $GITHUB_ENV - - name: Build linux release package in Docker if: runner.os == 'Linux' run: | @@ -103,16 +102,13 @@ jobs: tar czf ${{ env.BINARY_NAME }}.tar.gz --directory=. output - name: Build macos release package - if: runner.os == 'macOS' - env: - PKG_CONFIG_PATH: "$(pwd)/ffmpeg_${{ matrix.arch }}/lib/pkgconfig" - CMAKE_ARGS: "-DHAVE_STD_REGEX=ON -DRUN_HAVE_STD_REGEX=1" - BMF_PYTHON_VERSION: ${{ env.BMF_PYTHON_VERSION }} - BMF_ARCHITECTURES: ${{ matrix.arch }} run: | wget https://www.python.org/ftp/python/3.9.13/python-3.9.13-macos11.pkg sudo installer -pkg python-3.9.13-macos11.pkg -target / + brew install binutils ./scripts/build_ffmpeg.sh --arch=${{ matrix.arch }} + export PKG_CONFIG_PATH=$(pwd)/ffmpeg_${{ matrix.arch }}/lib/pkgconfig + export BMF_PYVER=${BMF_PYTHON_VERSION} ./build_osx.sh tar czf ${{ env.BINARY_NAME }}.tar.gz --directory=. output