-
Notifications
You must be signed in to change notification settings - Fork 78
41 lines (34 loc) · 921 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 (all features)
run: env ${{ matrix.rust.env }} ALL_FEATURES=1 ./capstone-rs/ci/test.sh