File tree 3 files changed +51
-19
lines changed
3 files changed +51
-19
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on : [push, pull_request]
4
+
5
+ env :
6
+ CARGO_TERM_COLOR : always
7
+
8
+ jobs :
9
+ build_test :
10
+ name : Build and Test
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v3
15
+
16
+ - name : Install Rust
17
+ uses : dtolnay/rust-toolchain@nightly
18
+
19
+ - name : Install Miri
20
+ run : |
21
+ rustup toolchain install nightly --component miri
22
+ cargo miri setup
23
+
24
+ - name : Test with Miri
25
+ run : cargo miri test --all-features
26
+
27
+ deploy_docs :
28
+ name : Deploy documentation
29
+ runs-on : ubuntu-latest
30
+ needs : build_test
31
+ if : github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
32
+ steps :
33
+ - name : Checkout
34
+ uses : actions/checkout@v3
35
+
36
+ - name : Install Rust
37
+ uses : dtolnay/rust-toolchain@stable
38
+
39
+ - name : Build documentation
40
+ run : cargo doc --all-features
41
+
42
+ - name : Finalize documentation
43
+ run : |
44
+ echo "<meta http-equiv=\"refresh\" content=\"0; url=generic_array\">" > target/doc/index.html
45
+ touch target/doc/.nojekyll
46
+
47
+ - name : Deploy
48
+ uses : JamesIves/github-pages-deploy-action@v4
49
+ with :
50
+ folder : target/doc
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[ ![ Crates.io] ( https://img.shields.io/crates/v/generic-array.svg )] ( https://crates.io/crates/generic-array )
2
- [ ![ Build Status] ( https://travis-ci.org /fizyk20/generic-array. svg?branch=master )] ( https://travis-ci.org /fizyk20/generic-array )
2
+ [ ![ Build Status] ( https://github.com /fizyk20/generic-array/actions/workflows/CI.yml/badge. svg )] ( https://github.com /fizyk20/generic-array/actions/workflows/CI.yml )
3
3
# generic-array
4
4
5
5
This crate implements generic array types for Rust.
You can’t perform that action at this time.
0 commit comments