File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 name : linux-x64
4747 build_cmd : ./build.sh release-examples
4848 build_dir : build-release
49+ - os : ubuntu-24.04-arm
50+ name : linux-arm64
51+ build_cmd : ./build.sh release-examples
52+ build_dir : build-release
4953 - os : macos-latest
5054 name : macos-arm64
5155 build_cmd : ./build.sh release-examples
@@ -116,16 +120,16 @@ jobs:
116120 path : |
117121 ~/.cargo/registry
118122 ~/.cargo/git
119- key : ${{ runner.os }}-cargo-reg-${{ hashFiles('**/Cargo.lock') }}
120- restore-keys : ${{ runner.os }}-cargo-reg-
123+ key : ${{ runner.os }}-${{ matrix.name }}- cargo-reg-${{ hashFiles('**/Cargo.lock') }}
124+ restore-keys : ${{ runner.os }}-${{ matrix.name }}- cargo-reg-
121125
122126 - name : Cache Cargo target
123127 uses : actions/cache@v4
124128 with :
125129 path : client-sdk-rust/target
126- key : ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.lock') }}
130+ key : ${{ runner.os }}-${{ matrix.name }}- cargo-target-${{ hashFiles('**/Cargo.lock') }}
127131 restore-keys : |
128- ${{ runner.os }}-cargo-target-
132+ ${{ runner.os }}-${{ matrix.name }}- cargo-target-
129133
130134 # ---------- Build environment setup ----------
131135 - name : Set Linux build environment
Original file line number Diff line number Diff line change 2727 - os : ubuntu-latest
2828 name : linux-x64
2929 generator : Ninja
30+ - os : ubuntu-24.04-arm
31+ name : linux-arm64
32+ generator : Ninja
3033 - os : macos-latest
3134 name : macos-arm64
3235 generator : Ninja
@@ -129,8 +132,8 @@ jobs:
129132 path : |
130133 ~/.cargo/registry
131134 ~/.cargo/git
132- key : ${{ runner.os }}-cargo-reg-${{ hashFiles('**/Cargo.lock') }}
133- restore-keys : ${{ runner.os }}-cargo-reg-
135+ key : ${{ runner.os }}-${{ matrix.name }}- cargo-reg-${{ hashFiles('**/Cargo.lock') }}
136+ restore-keys : ${{ runner.os }}-${{ matrix.name }}- cargo-reg-
134137
135138 # ---------- Build environment setup ----------
136139 - name : Set Linux build environment
@@ -255,7 +258,7 @@ jobs:
255258 ls -la
256259
257260 # Create tar.gz for Linux and macOS
258- for platform in linux-x64 macos-arm64; do
261+ for platform in linux-x64 linux-arm64 macos-arm64; do
259262 dirName="livekit-sdk-${platform}-${VERSION}"
260263 if [[ -d "${dirName}" ]]; then
261264 echo "Creating archive for ${platform}..."
You can’t perform that action at this time.
0 commit comments