Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
3159: chore(deps): bump syn from 1.0.80 to 1.0.81 r=driftluo,yangby-cryptape a=dependabot[bot]

Bumps [syn](https://github.com/dtolnay/syn) from 1.0.80 to 1.0.81.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/syn/releases">syn's releases</a>.</em></p>
<blockquote>
<h2>1.0.81</h2>
<ul>
<li>Support arbitrary precision negative literal tokens on rustc 1.56+ (<a href="https://github-redirect.dependabot.com/dtolnay/syn/issues/1087">#1087</a>, <a href="https://github-redirect.dependabot.com/dtolnay/syn/issues/1088">#1088</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/dtolnay/syn/commit/60442820600cc9311b39a1076ac856222ba8a9cc"><code>6044282</code></a> Release 1.0.81</li>
<li><a href="https://github.com/dtolnay/syn/commit/f39a581ef7dc7659a9a5101f39088409b970d4d3"><code>f39a581</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/syn/issues/1088">#1088</a> from dtolnay/literalparse</li>
<li><a href="https://github.com/dtolnay/syn/commit/0ca31d1e12397fa58f7f6d8358d756ec0fbd9ac0"><code>0ca31d1</code></a> Delete lit overflow test</li>
<li><a href="https://github.com/dtolnay/syn/commit/793b1c395eb3c28525f0b2a22dfda10b0e19ea1c"><code>793b1c3</code></a> Pull in proc-macro2 negative literal support</li>
<li><a href="https://github.com/dtolnay/syn/commit/36093340a311d018df080075af32b648e573a510"><code>3609334</code></a> Link to rustc PR for negative literal parse</li>
<li><a href="https://github.com/dtolnay/syn/commit/a7eedc1e7e9eaec8eb9cf66dfced1c02b64ce752"><code>a7eedc1</code></a> Locally ignore unnecessary_wraps pedantic clippy lint</li>
<li><a href="https://github.com/dtolnay/syn/commit/d9a9ff439876d21f27f8aee27f832337efb9c936"><code>d9a9ff4</code></a> Bypass negative literal workaround on 1.56+</li>
<li><a href="https://github.com/dtolnay/syn/commit/30984ec11fd8e6717c3270c1511ef97ab0b4e716"><code>30984ec</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/syn/issues/1087">#1087</a> from dtolnay/literalparse</li>
<li><a href="https://github.com/dtolnay/syn/commit/0fda5ad1a051aa058e666548896e30a1d93d9043"><code>0fda5ad</code></a> Use 'FromStr for Literal' instead of TokenStream workaround</li>
<li><a href="https://github.com/dtolnay/syn/commit/68e7ab85ab4d1e34f72710866ea8ca8af85b578b"><code>68e7ab8</code></a> Suppress no_effect_underscore_binding pedantic Clippy lint in test suite</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/syn/compare/1.0.80...1.0.81">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=syn&package-manager=cargo&previous-version=1.0.80&new-version=1.0.81)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

3160: chore(deps): bump tokio from 1.12.0 to 1.13.0 r=liya2017,driftluo a=dependabot[bot]

Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.12.0 to 1.13.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tokio-rs/tokio/releases">tokio's releases</a>.</em></p>
<blockquote>
<h2>Tokio v1.13.0</h2>
<h1>1.13.0 (October 29, 2021)</h1>
<h3>Fixed</h3>
<ul>
<li>sync: fix <code>Notify</code> to clone the waker before locking its waiter list (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4129">#4129</a>)</li>
<li>tokio: add riscv32 to non atomic64 architectures (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4185">#4185</a>)</li>
</ul>
<h3>Added</h3>
<ul>
<li>net: add <code>poll_{recv,send}_ready</code> methods to <code>udp</code> and <code>uds_datagram</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4131">#4131</a>)</li>
<li>net: add <code>try_*</code>, <code>readable</code>, <code>writable</code>, <code>ready</code>, and <code>peer_addr</code> methods to split halves (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4120">#4120</a>)</li>
<li>sync: add <code>blocking_lock</code> to <code>Mutex</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4130">#4130</a>)</li>
<li>sync: add <code>watch::Sender::send_replace</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3962">#3962</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4195">#4195</a>)</li>
<li>sync: expand <code>Debug</code> for <code>Mutex&lt;T&gt;</code> impl to unsized <code>T</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4134">#4134</a>)</li>
<li>tracing: instrument time::Sleep (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4072">#4072</a>)</li>
<li>tracing: use structured location fields for spawned tasks (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4128">#4128</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>io: add assert in <code>copy_bidirectional</code> that <code>poll_write</code> is sensible (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4125">#4125</a>)</li>
<li>macros: use qualified syntax when polling in <code>select!</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4192">#4192</a>)</li>
<li>runtime: handle <code>block_on</code> wakeups better (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4157">#4157</a>)</li>
<li>task: allocate callback on heap immediately in debug mode (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4203">#4203</a>)</li>
<li>tokio: assert platform-minimum requirements at build time (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3797">#3797</a>)</li>
</ul>
<h3>Documented</h3>
<ul>
<li>docs: conversion of doc comments to indicative mood (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4174">#4174</a>)</li>
<li>docs: add returning on the first error example for <code>try_join!</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4133">#4133</a>)</li>
<li>docs: fixing broken links in <code>tokio/src/lib.rs</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4132">#4132</a>)</li>
<li>signal: add example with background listener (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4171">#4171</a>)</li>
<li>sync: add more oneshot examples (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4153">#4153</a>)</li>
<li>time: document <code>Interval::tick</code> cancel safety (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4152">#4152</a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3797">#3797</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/3797">tokio-rs/tokio#3797</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3962">#3962</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/3962">tokio-rs/tokio#3962</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4072">#4072</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4072">tokio-rs/tokio#4072</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4120">#4120</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4120">tokio-rs/tokio#4120</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4125">#4125</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4125">tokio-rs/tokio#4125</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4128">#4128</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4128">tokio-rs/tokio#4128</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4129">#4129</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4129">tokio-rs/tokio#4129</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4130">#4130</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4130">tokio-rs/tokio#4130</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4131">#4131</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4131">tokio-rs/tokio#4131</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4132">#4132</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4132">tokio-rs/tokio#4132</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4133">#4133</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4133">tokio-rs/tokio#4133</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4134">#4134</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4134">tokio-rs/tokio#4134</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4152">#4152</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4152">tokio-rs/tokio#4152</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4153">#4153</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4153">tokio-rs/tokio#4153</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4157">#4157</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4157">tokio-rs/tokio#4157</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/tokio-rs/tokio/commit/ac89d8926d0c06eeb62936b0843a5278cd98ade0"><code>ac89d89</code></a> chore: prepare Tokio v1.13.0 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4196">#4196</a>)</li>
<li><a href="https://github.com/tokio-rs/tokio/commit/e184205421e7a5e6d397805adb516e661819240c"><code>e184205</code></a> chore: prepare tokio-macros 1.6.0 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4197">#4197</a>)</li>
<li><a href="https://github.com/tokio-rs/tokio/commit/44a1aad8df43bef416ac91dfc4b9b5614c3d34fd"><code>44a1aad</code></a> task: allocate callback on heap immediately in debug mode (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4203">#4203</a>)</li>
<li><a href="https://github.com/tokio-rs/tokio/commit/75c07770bfbfea4e5fd914af819c741ed9c3fc36"><code>75c0777</code></a> sync: make <code>watch::send_replace</code> infallible (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4195">#4195</a>)</li>
<li><a href="https://github.com/tokio-rs/tokio/commit/268ed5e73e39c907e0252791cf58daa41980b61b"><code>268ed5e</code></a> task: add more tips + links to <code>spawn_blocking</code> docs (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4150">#4150</a>)</li>
<li><a href="https://github.com/tokio-rs/tokio/commit/0c68b89452c6b978002aefe1b3daa391f2125616"><code>0c68b89</code></a> codec: update stream impl for Framed to return <code>None</code> after <code>Err</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4166">#4166</a>)</li>
<li><a href="https://github.com/tokio-rs/tokio/commit/827694a9e368b0d339a5b9eeb4fc0fb3c3e7df26"><code>827694a</code></a> ci: fix nightly version for cirrus ci (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4200">#4200</a>)</li>
<li><a href="https://github.com/tokio-rs/tokio/commit/d15e5fad165e9eff74b0dd8f294425de221985b5"><code>d15e5fa</code></a> ci: split FreeBSD into two jobs (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4194">#4194</a>)</li>
<li><a href="https://github.com/tokio-rs/tokio/commit/9cb495cdb841bb328cf188be030b8aa3adc31a8f"><code>9cb495c</code></a> tokio: upgrade to new nightly for CI (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4193">#4193</a>)</li>
<li><a href="https://github.com/tokio-rs/tokio/commit/e7d3e0c93c13a82d850fbd5ab5c913c94cdca9a4"><code>e7d3e0c</code></a> macros: use qualified syntax when polling in <code>select!</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4192">#4192</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-1.12.0...tokio-1.13.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tokio&package-manager=cargo&previous-version=1.12.0&new-version=1.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

3162: chore(deps): bump anyhow from 1.0.44 to 1.0.45 r=driftluo,chanhsu001,yangby-cryptape a=dependabot[bot]

Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.44 to 1.0.45.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p>
<blockquote>
<h2>1.0.45</h2>
<ul>
<li>Fix non-compilable macro expansion if downstream crate calls <code>anyhow!</code>, <code>ensure!</code>, or <code>bail!</code> with format args and is built with <code>#![no_std]</code> or <code>#![no_implicit_prelude]</code> (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/177">#177</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/dtolnay/anyhow/commit/33ab02c6813ea7a78fae0ea0d32b65e39d432f61"><code>33ab02c</code></a> Release 1.0.45</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/c50588f300c62b7cd16a53602f752c67f4e27415"><code>c50588f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/177">#177</a> from dtolnay/format</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/95351e3efed6d7a192238939dd0a7dec49da69b4"><code>95351e3</code></a> Refer to format macro by absolute path</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/263257b7bc7da14ec90e197c9e1ca40ad5b93a82"><code>263257b</code></a> Prevent missing rust-src from reinstalling a nightly without miri</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/3acbb335318b330a6c1d446b3a6d80e1e4e821b7"><code>3acbb33</code></a> Disable backtrace build on 1.50</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/4c386df6241c6abd4364537e92a34af3db86cc03"><code>4c386df</code></a> Update ui test suite to nightly-2021-10-13</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/b5556c90b0df89f52bf0b482a5b7ee71146aad47"><code>b5556c9</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/173">#173</a> from dtolnay/newadhoc</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/ce20d0471a13df2aff6c8ede21f71076bc354efc"><code>ce20d04</code></a> Replace macro-generated calls to new_adhoc with Error::msg public API</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/74fd4a27a3a6903c4dd39067c308539f2d3ffe0e"><code>74fd4a2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/170">#170</a> from dtolnay/ensure</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/c904c8283423f2ffa72704f7344e0aa95fe6363b"><code>c904c82</code></a> Bypass anyhow_kind-based dispatch for ensure! with default msg</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/anyhow/compare/1.0.44...1.0.45">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.44&new-version=1.0.45)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and liya2017 committed Nov 11, 2021
4 parents 6ec2f71 + a37c9ab + 19e23ba + 520d35a commit 228dffc
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 7 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci_integration_tests_ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ env:
LOGBAK_USER: ${{secrets.LOGBAK_USER}} #LOCBAK_* for upload logs to server when test failed
LOGBAK_PASSWORD: ${{secrets.LOGBAK_PASSWORD}}
LOGBAK_SERVER: ${{secrets.LOGBAK_SERVER}}
RUSTC_WRAPPER: sccache
SCCACHE_CACHE_SIZE: 2G
jobs:
prologue:
name: prologue
Expand Down Expand Up @@ -46,8 +48,37 @@ jobs:
timeout-minutes: 70
runs-on: ${{ needs.prologue.outputs.linux_runner_label }}
steps:
- name: Install sccache (ubuntu-latest)
env:
LINK: https://github.com/mozilla/sccache/releases/download
SCCACHE_VERSION: 0.2.13
run: |
SCCACHE_FILE=sccache-$SCCACHE_VERSION-x86_64-unknown-linux-musl
mkdir -p $HOME/.local/bin
curl -L "$LINK/$SCCACHE_VERSION/$SCCACHE_FILE.tar.gz" | tar xz
mv -f $SCCACHE_FILE/sccache $HOME/.local/bin/sccache
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Cache cargo registry
uses: actions/cache@v2
continue-on-error: false
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Save sccache
uses: actions/cache@v2
continue-on-error: false
with:
path: ~/.cache/sccache
key: ${{ runner.os }}-sccache-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-sccache-
- uses: actions/checkout@v2
- run: |
ls -al ~/.cache/sccache
if [[ ${{ needs.prologue.outputs.os_skip }} == run ]] && [[ ${{ needs.prologue.outputs.job_skip }} == run ]];then
devtools/ci/ci_main.sh
else
Expand Down
29 changes: 28 additions & 1 deletion .github/workflows/ci_linters_macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
RUSTFLAGS: -D warnings
RUSTC_WRAPPER: sccache
SCCACHE_CACHE_SIZE: 2G
jobs:
prologue:
name: prologue
Expand All @@ -40,10 +42,35 @@ jobs:
ci_linters_macos:
name: ci_linters_macos
needs: prologue
runs-on: macos-11
runs-on: macos-latest
steps:
- name: Install sccache (macos-latest)
run: |
brew upgrade
brew update
brew install sccache
- name: Cache cargo registry
uses: actions/cache@v2
continue-on-error: false
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Save sccache
uses: actions/cache@v2
continue-on-error: false
with:
path: ~/Library/Caches/Mozilla.sccache
key: ${{ runner.os }}-sccache-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-sccache-
- uses: actions/checkout@v2
- run: |
cargo --help
ls -al ~/Library/Caches/Mozilla.sccache
brew install grep gnu-sed
if [[ ${{ needs.prologue.outputs.os_skip }} == run ]] && [[ ${{ needs.prologue.outputs.job_skip }} == run ]];then
devtools/ci/ci_main.sh
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/ci_linters_ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
RUSTFLAGS: -D warnings
RUSTC_WRAPPER: sccache
SCCACHE_CACHE_SIZE: 2G
jobs:
prologue:
name: prologue
Expand Down Expand Up @@ -43,7 +45,36 @@ jobs:
runs-on: ${{ needs.prologue.outputs.linux_runner_label }}
steps:
- uses: actions/checkout@v2
- name: Install sccache (ubuntu-latest)
env:
LINK: https://github.com/mozilla/sccache/releases/download
SCCACHE_VERSION: 0.2.13
run: |
SCCACHE_FILE=sccache-$SCCACHE_VERSION-x86_64-unknown-linux-musl
mkdir -p $HOME/.local/bin
curl -L "$LINK/$SCCACHE_VERSION/$SCCACHE_FILE.tar.gz" | tar xz
mv -f $SCCACHE_FILE/sccache $HOME/.local/bin/sccache
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Cache cargo registry
uses: actions/cache@v2
continue-on-error: false
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Save sccache
uses: actions/cache@v2
continue-on-error: false
with:
path: ~/.cache/sccache
key: ${{ runner.os }}-sccache-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-sccache-
- run: |
cargo --help
if [[ ${{ needs.prologue.outputs.os_skip }} == run ]] && [[ ${{ needs.prologue.outputs.job_skip }} == run ]];then
devtools/ci/ci_main.sh
else
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 228dffc

Please sign in to comment.