Skip to content

bump deps

bump deps #25

Workflow file for this run

name: ci
on:
workflow_dispatch:
push:
branches: [ main ]
paths-ignore:
- 'README.md'
- '.gitignore'
- 'examples'
- 'deskmsg_napi'
- '.github/workflows/napi_ci.yml'
- '.github/workflows/napi_cd.yml'
- '.github/workflows/napi_build.yml'
- '.github/workflows/cd.yml'
jobs:
build:
strategy:
fail-fast: true
matrix:
settings:
- host: ubuntu-latest
target: x86_64-unknown-linux-gnu
build: make prepare-linux
- host: macos-latest
target: aarch64-apple-darwin
build: make prepare-mac-aarch64
- host: macos-13
target: x86_64-apple-darwin
build: make prepare-mac-x86_64
- host: windows-latest
target: x86_64-pc-windows-msvc
build: make prepare-windows
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- name: install libs
run: ${{ matrix.settings.build }}
- name: code format check
run: cargo fmt --check
- name: Build
run: cargo build --release --target=${{ matrix.settings.target }}
#
# - name: run example
# run: |
# cd examples/c_example
# cmake -DCMAKE_BUILD_TYPE=Release