Skip to content

Commit

Permalink
chore: use a submodule for opus library
Browse files Browse the repository at this point in the history
  • Loading branch information
orgads committed Nov 2, 2024
1 parent 31da49d commit d951a41
Show file tree
Hide file tree
Showing 386 changed files with 52 additions and 133,965 deletions.
32 changes: 24 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
node: [12, 13, 14, 15, 16, 17, 19]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Install Node v${{ matrix.node }}
uses: actions/setup-node@v3
Expand Down Expand Up @@ -47,7 +49,9 @@ jobs:
node: [18, 20, 21, 22]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Install Node v${{ matrix.node }}
uses: actions/setup-node@v3
Expand Down Expand Up @@ -76,7 +80,9 @@ jobs:
apk add --no-cache ca-certificates git curl build-base python3 g++ make
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: npm install --unsafe-perm --build-from-source
Expand All @@ -94,7 +100,9 @@ jobs:
node: [12, 13, 14, 15, 16, 17, 19]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Install Node v${{ matrix.node }}
uses: actions/setup-node@v3
Expand All @@ -119,7 +127,9 @@ jobs:
node: [18, 20, 21, 22]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Install Node v${{ matrix.node }}
uses: actions/setup-node@v3
Expand All @@ -144,7 +154,9 @@ jobs:
node: [16, 17, 19]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Install Node v${{ matrix.node }}
uses: actions/setup-node@v3
Expand Down Expand Up @@ -172,7 +184,9 @@ jobs:
node: [18, 20, 21, 22]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Install Node v${{ matrix.node }}
uses: actions/setup-node@v3
Expand Down Expand Up @@ -201,7 +215,9 @@ jobs:
apk add --no-cache ca-certificates git curl build-base python3 g++ make
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Setup musl cross compiler
run: |
Expand Down
32 changes: 24 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:
node: [12, 13, 14, 15, 16, 17, 19]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Install Node v${{ matrix.node }}
uses: actions/setup-node@v3
Expand Down Expand Up @@ -48,7 +50,9 @@ jobs:
node: [18, 20, 21, 22]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Install Node v${{ matrix.node }}
uses: actions/setup-node@v3
Expand Down Expand Up @@ -84,7 +88,9 @@ jobs:
apk add --no-cache ca-certificates git curl build-base python3 g++ make
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: npm install --unsafe-perm --build-from-source
Expand All @@ -109,7 +115,9 @@ jobs:
node: [12, 13, 14, 15, 16, 17, 19]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Install Node v${{ matrix.node }}
uses: actions/setup-node@v3
Expand Down Expand Up @@ -141,7 +149,9 @@ jobs:
node: [18, 20, 21, 22]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Install Node v${{ matrix.node }}
uses: actions/setup-node@v3
Expand Down Expand Up @@ -173,7 +183,9 @@ jobs:
node: [16, 17, 19]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Install Node v${{ matrix.node }}
uses: actions/setup-node@v3
Expand Down Expand Up @@ -208,7 +220,9 @@ jobs:
node: [18, 20, 21, 22]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Install Node v${{ matrix.node }}
uses: actions/setup-node@v3
Expand Down Expand Up @@ -244,7 +258,9 @@ jobs:
apk add --no-cache ca-certificates git curl build-base python3 g++ make
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Setup musl cross compiler
run: |
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "deps/opus"]
path = deps/opus
url = https://github.com/xiph/opus
1 change: 1 addition & 0 deletions deps/opus
Submodule opus added at e85ed7
6 changes: 0 additions & 6 deletions deps/opus/AUTHORS

This file was deleted.

Loading

0 comments on commit d951a41

Please sign in to comment.