Skip to content

Commit 45cba96

Browse files
committed
fix(ci): install x264 for macos builds
1 parent 80b7bfc commit 45cba96

4 files changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
with:
2828
components: rustfmt, clippy
2929

30+
- name: Install native build dependencies
31+
run: brew install pkg-config x264
32+
3033
- name: Cache Rust build outputs
3134
uses: actions/cache@v4
3235
with:
@@ -133,6 +136,9 @@ jobs:
133136
134137
- uses: dtolnay/rust-toolchain@stable
135138

139+
- name: Install native build dependencies
140+
run: brew install pkg-config x264
141+
136142
- name: Cache Rust build outputs and fixture app
137143
uses: actions/cache@v4
138144
with:

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ jobs:
153153
with:
154154
targets: aarch64-apple-darwin
155155

156+
- name: Install native build dependencies
157+
if: ${{ steps.meta.outputs.kind == 'npm-cli' }}
158+
run: brew install pkg-config x264
159+
156160
- name: Install root dependencies
157161
run: npm ci
158162

.github/workflows/simdeck-provider.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ jobs:
9191
}" \
9292
"$SIMDECK_CLOUD_URL/api/actions/providers/register"
9393
94+
- name: Install native build dependencies
95+
if: ${{ inputs.simdeck_artifact_url == '' }}
96+
run: brew install pkg-config x264
97+
9498
- name: Build or download SimDeck
9599
shell: bash
96100
env:

server/src/api/routes.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6165,10 +6165,7 @@ mod tests {
61656165
client_stats_foreground(&page_stats(Some("visible"), None)),
61666166
Some(true)
61676167
);
6168-
assert_eq!(
6169-
client_stats_foreground(&page_stats(None, Some(true))),
6170-
None
6171-
);
6168+
assert_eq!(client_stats_foreground(&page_stats(None, Some(true))), None);
61726169
assert_eq!(
61736170
client_stats_foreground(&ClientStreamStats {
61746171
client_id: "client".to_owned(),

0 commit comments

Comments
 (0)