Skip to content

Commit

Permalink
chore: 🤖 upgrade thorvg to v0.15.0 (#240)
Browse files Browse the repository at this point in the history
* chore: 🤖 upgrade thorvg to v0.15.0
  • Loading branch information
theashraf authored Oct 7, 2024
1 parent 0de429e commit 1b24130
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 23 deletions.
5 changes: 5 additions & 0 deletions .changeset/choredependencies_upgrade_thorvg_v0150.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
default: minor
---

# chore(dependencies): 🤖 upgrade thorvg v0.15.0
46 changes: 25 additions & 21 deletions .github/workflows/check-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,40 @@ name: Check PR
on:
pull_request:
branches: [main]
push:
branches: [main]

jobs:
check-pr:
if: github.head_ref != 'release'
runs-on: macos-12
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v4
- uses: Homebrew/actions/setup-homebrew@master
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "13.3.1"
- uses: ningenMe/[email protected]
- uses: turtlebrowser/get-conan@main
- name: Install Make
run: brew install make
- name: Build Setup
run: make mac-setup
- name: Build Artifacts
env:
APPLE_XCODE_APP_NAME: Xcode_13.3.1.app
APPLE_MACOSX_SDK: MacOSX12.3
run: make demo-player
- name: Run Tests
run: make test
- name: Run Clippy
run: make clippy
# Make sure CI fails on all warnings, including Clippy lints

- name: Setup Rust
uses: ningenMe/[email protected]

- name: Setup Conan
uses: turtlebrowser/get-conan@main

- name: Build
run: |
cargo build --manifest-path=./dotlottie-rs/Cargo.toml --release
cargo build --manifest-path=./dotlottie-ffi/Cargo.toml --release
- name: Test
run: |
cargo test --manifest-path=./dotlottie-rs/Cargo.toml --release -- --test-threads=1
cargo test --manifest-path=./dotlottie-ffi/Cargo.toml --release -- --test-threads=1
- name: Lint
run: |
cargo clippy --manifest-path=./dotlottie-rs/Cargo.toml --all-targets --all-features -- -D clippy::print_stdout
cargo clippy --manifest-path=./dotlottie-ffi/Cargo.toml --all-targets --all-features -- -D clippy::print_stdout
env:
RUSTFLAGS: "-Dwarnings"
2 changes: 1 addition & 1 deletion deps/modules/thorvg
Submodule thorvg updated 558 files
2 changes: 1 addition & 1 deletion dotlottie-rs/conanfile.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[requires]
thorvg/0.14.6
thorvg/0.14.10

0 comments on commit 1b24130

Please sign in to comment.