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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: Rust
on:
env:
CARGO_INCREMENTAL: 0
jobs:
win:
name: Win
runs-on: windows-latest
strategy:
matrix:
toolchain:
- nightly-x86_64-msvc
- nightly-i686-msvc
# - nightly-x86_64-gnu
# - nightly-i686-gnu
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
default: true
profile: minimal
- name: Build
run: |
cargo build
# - name: Test
# run: cargo test --features "everything impl-debug impl-default"
# wincross:
# name: WinX
# runs-on: windows-latest
# strategy:
# matrix:
# target: [i686-pc-windows-msvc, i586-pc-windows-msvc, aarch64-pc-windows-msvc]
# steps:
# - uses: actions/checkout@v2
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: nightly-x86_64-msvc
# target: ${{ matrix.target }}
# default: true
# profile: minimal
# - name: Build
# run: |
# cargo build --target=${{ matrix.target }}
# cargo build --target=${{ matrix.target }} --all-features
# cargo build --target=${{ matrix.target }} --release --all-features
# - name: Test
# run: cargo test --target=${{ matrix.target }} --all-features --no-run
# lin:
# name: Lin
# runs-on: ubuntu-latest
# strategy:
# matrix:
# toolchain: [nightly, 1.2.0]
# steps:
# - uses: actions/checkout@v2
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: ${{ matrix.toolchain }}
# default: true
# profile: minimal
# - name: Build
# run: |
# cargo build
# cargo build --features "everything impl-debug impl-default"
# cargo build --release --features "everything impl-debug impl-default"
# lincross:
# name: LinX
# runs-on: ubuntu-latest
# strategy:
# matrix:
# target: [x86_64-pc-windows-msvc, i686-pc-windows-msvc, i586-pc-windows-msvc, aarch64-pc-windows-msvc]
# steps:
# - uses: actions/checkout@v2
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: nightly
# target: ${{ matrix.target }}
# default: true
# profile: minimal
# - name: Build
# run: |
# cargo build --target=${{ matrix.target }}
# cargo build --target=${{ matrix.target }} --all-features
# cargo build --target=${{ matrix.target }} --release --all-features