fix: minimum deployment version of the iOS and MacOSX targets #726
Workflow file for this run
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
name: Check PR | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
# TODO:For Testing, Remove Before Merge | |
build-apple: | |
runs-on: macos-latest-large | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- uses: Homebrew/actions/setup-homebrew@master | |
- uses: ningenMe/[email protected] | |
- name: Install Make | |
run: brew install make | |
- name: Build Setup | |
run: make mac-setup | |
env: | |
TARGET: apple | |
- name: Build Apple | |
run: | | |
rm -f /usr/local/lib/libjpeg* | |
make apple | |
- name: Upload Apple Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dotlottie-player.darwin.tar.gz | |
path: release/apple/dotlottie-player.darwin.tar.gz | |
if-no-files-found: error | |
check-pr: | |
if: github.head_ref != 'release' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v4 | |
- 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" |