diff --git a/.github/workflows/mac-m1.yml b/.github/workflows/mac-m1.yml index 2dedb8e2f..201fb2fa2 100644 --- a/.github/workflows/mac-m1.yml +++ b/.github/workflows/mac-m1.yml @@ -34,10 +34,6 @@ jobs: # run: system_profiler SPDisplaysDataType |grep Resolution - name: Enable Safaridriver run: sudo safaridriver --enable - - name: FFmpeg version - run: ffmpeg -version - - name: List all simulators - run: xcrun xctrace list devices #- name: Start local HTTP server # run: (npm run start-server&) - name: Test Safari without video diff --git a/.github/workflows/safari.yml b/.github/workflows/safari.yml index 00de4a295..022ee4ab3 100644 --- a/.github/workflows/safari.yml +++ b/.github/workflows/safari.yml @@ -16,19 +16,26 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20.x' + - name: Use Pyhton + uses: actions/setup-python@v5 + with: + python-version: '3.12' + - name: Install FFMPEG + uses: FedericoCarboni/setup-ffmpeg@v3 + id: setup-ffmpeg - name: Install browsertime run: npm ci - - name: Install dependencies + - name: Install Pythom dependencies run: | - sudo safaridriver --enable - brew update - brew install ffmpeg python -m pip install --upgrade --user pip python -m pip install --upgrade --user setuptools python -m pip install --user pyssim OpenCV-Python Numpy python -m pip --version python -m pip show Pillow python -m pip show pyssim + - name: Checks + run: | + sudo safaridriver --enable system_profiler SPDisplaysDataType |grep Resolution ffmpeg -version - name: List all simulators