Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
fail-fast: false
matrix:
include:
- os: macos-latest
- os: macos-14
arch: arm64
- os: macos-latest
- os: macos-13
arch: x86_64
- os: ubuntu-latest
arch: aarch64
Expand Down
17 changes: 2 additions & 15 deletions scripts/build-codecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,6 @@ def run(cmd):
os.chdir(build_dir)

prepend_env("PATH", os.path.join(dest_dir, "bin"), separator=":")
if platform.system() == "Darwin" and os.environ.get("ARCHFLAGS") == "-arch arm64":
opus_configure_args = [
"--build",
"x86_64-apple-darwin20.6.0",
"--host",
"amd64-apple-darwin20.6.0",
]
vpx_configure_args = ["--target=arm64-darwin20-gcc"]
else:
opus_configure_args = []
vpx_configure_args = []

#### BUILD TOOLS ####

Expand All @@ -127,8 +116,7 @@ def run(cmd):
"--disable-shared",
"--enable-static",
"--with-pic",
]
+ opus_configure_args,
],
)

# build vpx
Expand All @@ -140,8 +128,7 @@ def run(cmd):
"--disable-tools",
"--disable-unit-tests",
"--enable-pic",
]
+ vpx_configure_args,
],
)

run(["tar", "czvf", output_tarball, "-C", dest_dir, "include", "lib"])