@@ -67,110 +67,110 @@ jobs:
67
67
$HOME/.cargo/bin/cargo test --release --features portable --target ${{ matrix.target }}
68
68
echo "vmx: four"
69
69
70
- # # Linux tests
71
- # linux:
72
- # needs: set-msrv
73
- # strategy:
74
- # matrix:
75
- # include:
76
- # # 32-bit Linux/x86
77
- # - target: i686-unknown-linux-gnu
78
- # rust: ${{needs.set-msrv.outputs.msrv}}
79
- # deps: sudo apt update && sudo apt install gcc-multilib
80
- # - target: i686-unknown-linux-gnu
81
- # rust: stable
82
- # deps: sudo apt update && sudo apt install gcc-multilib
83
- #
84
- # # 64-bit Linux/x86_64
85
- # - target: x86_64-unknown-linux-gnu
86
- # rust: ${{needs.set-msrv.outputs.msrv}}
87
- # - target: x86_64-unknown-linux-gnu
88
- # rust: stable
89
- #
90
- # runs-on: ubuntu-latest
91
- # steps:
92
- # - uses: actions/checkout@v4
93
- # - uses: dtolnay/rust-toolchain@master
94
- # with:
95
- # toolchain: ${{ matrix.rust }}
96
- # target: ${{ matrix.target }}
97
- # - name: Install opencl
98
- # run: sudo apt-get install -y ocl-icd-opencl-dev
99
- # - run: ${{ matrix.deps }}
100
- # - run: cargo test --target ${{ matrix.target }}
101
- # - run: cargo test --target ${{ matrix.target }} --features portable
102
- #
103
- # # macOS tests
104
- # macos:
105
- # needs: set-msrv
106
- # strategy:
107
- # matrix:
108
- # toolchain:
109
- # - ${{needs.set-msrv.outputs.msrv}}
110
- # - stable
111
- #
112
- # runs-on: macos-latest
113
- # steps:
114
- # - uses: actions/checkout@v4
115
- # - uses: dtolnay/rust-toolchain@master
116
- # with:
117
- # toolchain: ${{ matrix.rust }}
118
- # target: x86_64-apple-darwin
119
- # - run: cargo test
120
- # - run: cargo test --features portable
121
- #
122
- # # Windows tests
123
- # windows:
124
- # needs: set-msrv
125
- # strategy:
126
- # matrix:
127
- # include:
128
- # # 64-bit Windows (MSVC)
129
- # - target: x86_64-pc-windows-msvc
130
- # toolchain: stable
131
- #
132
- # runs-on: windows-latest
133
- # steps:
134
- # - uses: actions/checkout@v4
135
- # - uses: dtolnay/rust-toolchain@master
136
- # with:
137
- # toolchain: ${{ matrix.rust }}
138
- # target: ${{ matrix.target }}
139
- # - uses: msys2/setup-msys2@v2
140
- # - run: cargo test --target ${{ matrix.target }}
141
- # - run: cargo test --target ${{ matrix.target }} --features portable
142
- #
143
- # clippy_check:
144
- # runs-on: ubuntu-latest
145
- # steps:
146
- # - uses: actions/checkout@v4
147
- # - uses: dtolnay/rust-toolchain@master
148
- # with:
149
- # toolchain: ${{ matrix.rust }}
150
- # components: clippy
151
- # - name: Clippy
152
- # run: cargo clippy --all-features
153
- #
154
- # check_fmt_and_docs:
155
- # name: Checking fmt and docs
156
- # runs-on: ubuntu-latest
157
- # steps:
158
- # - uses: actions/checkout@v4
159
- #
160
- # - uses: dtolnay/rust-toolchain@master
161
- # with:
162
- # toolchain: ${{ matrix.rust }}
163
- # components: rustfmt
164
- #
165
- # - name: setup
166
- # run: |
167
- # rustup component add rustfmt
168
- # rustc --version
169
- # - name: fmt
170
- # run: cargo fmt --all -- --check
171
- #
172
- # - name: Docs
173
- # run: cargo doc
70
+ # Linux tests
71
+ linux :
72
+ needs : set-msrv
73
+ strategy :
74
+ matrix :
75
+ include :
76
+ # 32-bit Linux/x86
77
+ - target : i686-unknown-linux-gnu
78
+ rust : ${{needs.set-msrv.outputs.msrv}}
79
+ deps : sudo apt update && sudo apt install gcc-multilib
80
+ - target : i686-unknown-linux-gnu
81
+ rust : stable
82
+ deps : sudo apt update && sudo apt install gcc-multilib
83
+
84
+ # 64-bit Linux/x86_64
85
+ - target : x86_64-unknown-linux-gnu
86
+ rust : ${{needs.set-msrv.outputs.msrv}}
87
+ - target : x86_64-unknown-linux-gnu
88
+ rust : stable
89
+
90
+ runs-on : ubuntu-latest
91
+ steps :
92
+ - uses : actions/checkout@v4
93
+ - uses : dtolnay/rust-toolchain@master
94
+ with :
95
+ toolchain : ${{ matrix.rust }}
96
+ target : ${{ matrix.target }}
97
+ - name : Install opencl
98
+ run : sudo apt-get install -y ocl-icd-opencl-dev
99
+ - run : ${{ matrix.deps }}
100
+ - run : cargo test --target ${{ matrix.target }}
101
+ - run : cargo test --target ${{ matrix.target }} --features portable
102
+
103
+ # macOS tests
104
+ macos :
105
+ needs : set-msrv
106
+ strategy :
107
+ matrix :
108
+ toolchain :
109
+ - ${{needs.set-msrv.outputs.msrv}}
110
+ - stable
111
+
112
+ runs-on : macos-latest
113
+ steps :
114
+ - uses : actions/checkout@v4
115
+ - uses : dtolnay/rust-toolchain@master
116
+ with :
117
+ toolchain : ${{ matrix.rust }}
118
+ target : x86_64-apple-darwin
119
+ - run : cargo test
120
+ - run : cargo test --features portable
121
+
122
+ # Windows tests
123
+ windows :
124
+ needs : set-msrv
125
+ strategy :
126
+ matrix :
127
+ include :
128
+ # 64-bit Windows (MSVC)
129
+ - target : x86_64-pc-windows-msvc
130
+ toolchain : stable
131
+
132
+ runs-on : windows-latest
133
+ steps :
134
+ - uses : actions/checkout@v4
135
+ - uses : dtolnay/rust-toolchain@master
136
+ with :
137
+ toolchain : ${{ matrix.rust }}
138
+ target : ${{ matrix.target }}
139
+ - uses : msys2/setup-msys2@v2
140
+ - run : cargo test --target ${{ matrix.target }}
141
+ - run : cargo test --target ${{ matrix.target }} --features portable
142
+
143
+ clippy_check :
144
+ runs-on : ubuntu-latest
145
+ steps :
146
+ - uses : actions/checkout@v4
147
+ - uses : dtolnay/rust-toolchain@master
148
+ with :
149
+ toolchain : ${{ matrix.rust }}
150
+ components : clippy
151
+ - name : Clippy
152
+ run : cargo clippy --all-features
153
+
154
+ check_fmt_and_docs :
155
+ name : Checking fmt and docs
156
+ runs-on : ubuntu-latest
157
+ steps :
158
+ - uses : actions/checkout@v4
159
+
160
+ - uses : dtolnay/rust-toolchain@master
161
+ with :
162
+ toolchain : ${{ matrix.rust }}
163
+ components : rustfmt
164
+
165
+ - name : setup
166
+ run : |
167
+ rustup component add rustfmt
168
+ rustc --version
169
+ - name : fmt
170
+ run : cargo fmt --all -- --check
171
+
172
+ - name : Docs
173
+ run : cargo doc
174
174
175
175
# Benchmarks need a nightly Rust
176
176
bench :
0 commit comments