rs, sys: bump capstone to 6.0.0-Alpha5 #377
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |