-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: 🤖 upgrade thorvg to v0.15.0 (#240)
* chore: 🤖 upgrade thorvg to v0.15.0
- Loading branch information
Showing
4 changed files
with
32 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
default: minor | ||
--- | ||
|
||
# chore(dependencies): 🤖 upgrade thorvg v0.15.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[requires] | ||
thorvg/0.14.6 | ||
thorvg/0.14.10 |