Compare commits

..

2 Commits

Author SHA1 Message Date
25d5121a28 ci: correct toolchain matrix args 2025-07-28 18:32:13 -05:00
91095ed2cc ci: switch tarpaulin output to lcov format 2025-07-28 18:28:43 -05:00
2 changed files with 8 additions and 4 deletions

View File

@@ -11,20 +11,23 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
toolchain: [1.88.0]
include: include:
- os: ubuntu-latest - os: ubuntu-latest
target: x86_64-unknown-linux-gnu target: x86_64-unknown-linux-gnu
artifact_name: pacman artifact_name: pacman
toolchain: 1.88.0
- os: macos-13 - os: macos-13
target: x86_64-apple-darwin target: x86_64-apple-darwin
artifact_name: pacman artifact_name: pacman
toolchain: 1.88.0
- os: macos-latest - os: macos-latest
target: aarch64-apple-darwin target: aarch64-apple-darwin
artifact_name: pacman artifact_name: pacman
toolchain: 1.88.0
- os: windows-latest - os: windows-latest
target: x86_64-pc-windows-gnu target: x86_64-pc-windows-gnu
artifact_name: pacman.exe artifact_name: pacman.exe
toolchain: 1.88.0
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- name: Checkout - name: Checkout
@@ -90,7 +93,7 @@ jobs:
uses: pyodide/setup-emsdk@v15 uses: pyodide/setup-emsdk@v15
with: with:
version: 3.1.43 version: 3.1.43
actions-cache-folder: "emsdk-cache" actions-cache-folder: "emsdk-cache-b"
- name: Setup Rust (WASM32 Emscripten) - name: Setup Rust (WASM32 Emscripten)
uses: dtolnay/rust-toolchain@master uses: dtolnay/rust-toolchain@master

View File

@@ -47,12 +47,13 @@ jobs:
- name: Generate coverage report - name: Generate coverage report
run: | run: |
cargo tarpaulin \ cargo tarpaulin \
--out Html \ --out Lcov \
--output-dir coverage \ --output-dir coverage \
--rustflags="-C link-arg=-lz" --rustflags="-C link-arg=-lz"
- name: Upload coverage to Coveralls - name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2 uses: coverallsapp/github-action@v2
with: with:
files: ./coverage/tarpaulin-report.html files: ./coverage/lcov.info
format: lcov
allow-empty: false allow-empty: false