Skip to content

Commit

Permalink
last minute fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Sep 12, 2023
1 parent 0fdc756 commit dcea734
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- target: "build-runtime-testnet"
package: "centrifuge-runtime"
name: ${{ matrix.target }}-${{ matrix.package }}
runs-on: ubuntu-latest-8-cores
runs-on: ubuntu-latest-4-cores
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
Expand All @@ -63,7 +63,13 @@ jobs:
with:
image: paritytech/srtool:${{ matrix.rust_version }}
options: -v /tmp/cargo:/cargo-home -v ${{ github.workspace }}:/build -e PACKAGE=${{ matrix.package }}
run: /srtool/build
run: |
apt-get update && apt-get install --yes libpq-dev wget
wget https://github.com/mozilla/sccache/releases/download/v0.5.4/sccache-dist-v0.5.4-x86_64-unknown-linux-musl.tar.gz \
&& tar xzf sccache-v0.2.15-x86_64-unknown-linux-musl.tar.gz \
&& mv sccache-v0.2.15-x86_64-unknown-linux-musl/sccache /usr/local/bin/sccache \
&& chmod +x /usr/local/bin/sccache
/srtool/build
- name: Run sccache stat for check
shell: bash
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
name: lint-${{ matrix.target }}
env:
RUST_TOOLCHAIN: "nightly-2022-11-14"
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
# SCCACHE_GHA_ENABLED: "true"
# RUSTC_WRAPPER: "sccache"
strategy:
matrix:
target: [fmt, taplo, clippy]
Expand Down Expand Up @@ -60,6 +60,8 @@ jobs:
runs-on: ubuntu-latest
env:
RUST_TOOLCHAIN: "nightly"
# SCCACHE_GHA_ENABLED: "true"
# RUSTC_WRAPPER: "sccache"
steps:
- name: Check out code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #3.5.2
Expand Down

0 comments on commit dcea734

Please sign in to comment.