Skip to content

Commit

Permalink
update sandbox permissions to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgelfond committed Dec 24, 2024
1 parent b9c5ca7 commit 3d1d18e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
key: build-cache-st-v1-${{ hashFiles('Dockerfile', 'Makefile', 'build/*') }}
restore-keys: |
build-cache-st-v1-
- name: Configure sandbox permissions
run: |
sudo chown root:root chrome_sandbox
sudo chmod 4755 chrome_sandbox
export CHROME_DEVEL_SANDBOX="$PWD/chrome_sandbox"
- name: Build ffmpeg-core
run: make prd EXTRA_ARGS="--cache-from=type=local,src=build-cache-st --cache-to=type=local,dest=build-cache-st,mode=max"
- name: Upload core
Expand All @@ -50,6 +55,11 @@ jobs:
key: build-cache-mt-v1-${{ hashFiles('Dockerfile', 'Makefile', 'build/*') }}
restore-keys: |
build-cache-v1-
- name: Configure sandbox permissions
run: |
sudo chown root:root chrome_sandbox
sudo chmod 4755 chrome_sandbox
export CHROME_DEVEL_SANDBOX="$PWD/chrome_sandbox"
- name: Build ffmpet-core-mt
run: make prd-mt EXTRA_ARGS="--cache-from=type=local,src=build-cache-mt --cache-to=type=local,dest=build-cache-mt,mode=max"
- name: Upload core-mt
Expand All @@ -75,6 +85,11 @@ jobs:
with:
name: ffmpeg-core-mt
path: packages/core-mt/dist
- name: Configure sandbox permissions
run: |
sudo chown root:root chrome_sandbox
sudo chmod 4755 chrome_sandbox
export CHROME_DEVEL_SANDBOX="$PWD/chrome_sandbox"
- name: Use Node.js 18
uses: actions/setup-node@v2
with:
Expand Down

0 comments on commit 3d1d18e

Please sign in to comment.