Skip to content

add linux support

add linux support #11

name: build and test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: ilammy/msvc-dev-cmd@v1
- name: install cxxbridge
run: cargo install cxxbridge-cmd
- name: install cargo-make
run: cargo install cargo-make
- name: Compile test
run: cargo make build_test
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
macos:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- name: install cxxbridge
run: cargo install cxxbridge-cmd
- name: install cargo-make
run: cargo install cargo-make
- name: Compile test
run: cargo make build_test
- name: Build
run: cargo build --verbose
# - name: Run tests
# run: cargo test --verbose