Skip to content

intel test

intel test #450

Workflow file for this run

on: [push]
name: Check OSX
jobs:
check:
strategy:
matrix:
os: [macos-14, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ilammy/setup-nasm@v1
- uses: Swatinem/rust-cache@v2
- name: Check without default features
run: cargo check --no-default-features --features notan/shaderc
- name: Run arm build
run: cargo build
if: matrix.os == 'ubuntu-latest'
- name: intel heif test
run: |
brew install libheif
cargo bundle --release --features notan/shaderc --features heif
mkdir target/release/bundle/osx/oculante.app/Contents/Frameworks/
cp /opt/homebrew/opt/libheif/lib/libheif.1.dylib target/release/bundle/osx/oculante.app/Contents/Frameworks/
install_name_tool -change /opt/homebrew/opt/libheif/lib/libheif.1.dylib "@executable_path/../Frameworks/libheif.1.dylib" target/release/bundle/osx/oculante.app/Contents/MacOS/oculante
otool -L target/release/bundle/osx/oculante.app/Contents/MacOS/oculante
if: matrix.os == 'macos-latest'