Skip to content

tune ns::log api

tune ns::log api #537

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
os: [macos-14]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: ls apps
run: ls -la /Applications
- name: os ver
run: sw_vers
- name: switch xcode
run: sudo xcode-select -s '/Applications/Xcode_15.2.app'
- name: list sdks
run: xcodebuild -showsdks
- name: macosx sdk version
run: xcodebuild -version -sdk macosx
- name: add targets
run: >
rustup target add aarch64-apple-ios &&
rustup target add aarch64-apple-ios-sim &&
rustup target add x86_64-apple-darwin &&
rustup +nightly target add aarch64-apple-darwin &&
rustup +nightly target add aarch64-apple-ios &&
rustup component add rust-src --toolchain nightly-aarch64-apple-darwin
- name: Build
run: ./build.sh
- name: Test ns
run: 'cargo t ns::'
- name: Test cf
run: 'cargo t cf::'