Skip to content

rs, sys: bump capstone to 6.0.0-Alpha5 #377

rs, sys: bump capstone to 6.0.0-Alpha5

rs, sys: bump capstone to 6.0.0-Alpha5 #377

Workflow file for this run

on:
- push
- pull_request
name: main
jobs:
test:
strategy:
fail-fast: false
matrix:
rust:
- version: 1.70.0 # MSRV
env: SKIP_CARGO_UPDATE=1
- version: stable
- version: beta
- version: nightly
os:
- ubuntu-latest
- windows-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust.version }}
override: true
- name: install recent bash on macos
if: ${{ startsWith(matrix.os, 'macos') }}
run: brew install bash
- name: test
run: env ${{ matrix.rust.env }} ./capstone-rs/ci/test.sh
- name: test (with bindgen)
run: env ${{ matrix.rust.env }} FEATURES="use_bindgen" ./capstone-rs/ci/test.sh
- name: test (only enable x86 and aarch64)
run: env ${{ matrix.rust.env }} FEATURES=std,full,arch_x86,arch_aarch64 NO_DEFAULT_FEATURES=1 ./capstone-rs/ci/test.sh