Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 2 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- label: Tauri on Linux
platform: tauri
dist_path: src-tauri/target/dist
os: ubuntu-latest
os: ubuntu-22.04
target: x86_64-unknown-linux-musl
binaryen: x86_64-linux
cargo_bin: /home/runner/.cargo/bin
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
DETECT_CHROMEDRIVER_VERSION: true

- name: Install native dependencies (Tauri)
if: matrix.platform == 'tauri' && matrix.os == 'ubuntu-latest'
if: matrix.platform == 'tauri' && startsWith(matrix.os, 'ubuntu')
run: |
sudo apt update
sudo apt install libwebkit2gtk-4.0-dev \
Expand Down Expand Up @@ -153,27 +153,6 @@ jobs:
if: matrix.platform == 'tauri'
run: npm run tauri:icons

- name: Cache screenshots (Web)
if: matrix.platform == 'web'
uses: actions/cache@v4
with:
path: test/screenshots
key: ${{ runner.os }}-screenshots-${{ hashFiles('test/rendering-test.js') }}
restore-keys: ${{ runner.os }}-screenshots-

- name: Run tests (Web)
if: matrix.platform == 'web'
run: |
echo "::add-matcher::.github/workflows/test-failures.json"
npm run test

- name: Upload screenshots (Web)
if: matrix.platform == 'web' && (success() || failure())
uses: actions/upload-artifact@v4
with:
name: Screenshots
path: test/screenshots

- name: Optimize
if: github.repository == 'LiveSplit/LiveSplitOne' && github.ref == 'refs/heads/master'
shell: bash
Expand Down
Loading
Loading