File tree Expand file tree Collapse file tree 3 files changed +27
-6
lines changed Expand file tree Collapse file tree 3 files changed +27
-6
lines changed Original file line number Diff line number Diff line change 1+ name : GitHub Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ pages :
10+ runs-on : ubuntu-22.04
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : actions-rs/cargo@v1
14+ with :
15+ command : doc
16+ args : --no-deps
17+ - name : Deploy GitHub Pages
18+ uses : peaceiris/actions-gh-pages@v3
19+ with :
20+ github_token : ${{ secrets.GITHUB_TOKEN }}
21+ publish_dir : ./target/doc
22+ force_orphan : true
Original file line number Diff line number Diff line change 2020// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121// SOFTWARE.
2222
23- use anyhow:: { bail , Result } ;
23+ use anyhow:: Result ;
2424use intel_mkl_tool:: * ;
2525use std:: str:: FromStr ;
2626
@@ -66,12 +66,11 @@ fn main() -> Result<()> {
6666 // where ocipkg download archive is not searched by ld
6767 // unless user set `LD_LIBRARY_PATH` explictly.
6868 if cfg. link == LinkType :: Static {
69- ocipkg:: link_package ( & format ! (
69+ let _ = ocipkg:: link_package ( & format ! (
7070 "ghcr.io/rust-math/rust-mkl/{}:2020.1-2851133947" ,
7171 MKL_CONFIG
72- ) ) ?;
73- return Ok ( ( ) ) ;
72+ ) ) ;
7473 }
7574
76- bail ! ( "No MKL found" ) ;
75+ Ok ( ( ) )
7776}
Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ fn main() -> ExitCode {
1414 num_not_found += 1 ;
1515 }
1616 }
17- return ExitCode :: from ( num_not_found) ;
17+ ExitCode :: from ( num_not_found)
1818}
You can’t perform that action at this time.
0 commit comments