From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../wpf-gpu-raster/.github/workflows/coverage.yml | 23 +++++++++++++ .../rust/wpf-gpu-raster/.github/workflows/rust.yml | 39 ++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 third_party/rust/wpf-gpu-raster/.github/workflows/coverage.yml create mode 100644 third_party/rust/wpf-gpu-raster/.github/workflows/rust.yml (limited to 'third_party/rust/wpf-gpu-raster/.github') diff --git a/third_party/rust/wpf-gpu-raster/.github/workflows/coverage.yml b/third_party/rust/wpf-gpu-raster/.github/workflows/coverage.yml new file mode 100644 index 0000000000..3f2e6f2523 --- /dev/null +++ b/third_party/rust/wpf-gpu-raster/.github/workflows/coverage.yml @@ -0,0 +1,23 @@ +name: Coverage + +on: [pull_request, push] + +jobs: + coverage: + runs-on: ubuntu-latest + env: + CARGO_TERM_COLOR: always + steps: + - uses: actions/checkout@v3 + - name: Install Rust + run: rustup toolchain install stable --component llvm-tools-preview + - name: Install cargo-llvm-cov + uses: taiki-e/install-action@cargo-llvm-cov + - name: Generate code coverage + run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos + files: lcov.info + fail_ci_if_error: true diff --git a/third_party/rust/wpf-gpu-raster/.github/workflows/rust.yml b/third_party/rust/wpf-gpu-raster/.github/workflows/rust.yml new file mode 100644 index 0000000000..1f38bfc1f7 --- /dev/null +++ b/third_party/rust/wpf-gpu-raster/.github/workflows/rust.yml @@ -0,0 +1,39 @@ +name: Rust + +on: + push: + pull_request: + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose + + aarch64: + runs-on: ubuntu-20.04 + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Install toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + target: aarch64-unknown-linux-gnu + + - name: Install cross + run: cargo install cross + + - name: Run tests with Neon + run: cross test --target aarch64-unknown-linux-gnu -- cgit v1.2.3