Skip to content
Snippets Groups Projects
Unverified Commit c1addc7f authored by zjb0807's avatar zjb0807 Committed by GitHub
Browse files

Fix ci (#302)

* fix ci

* use self-hosted runner

* remove cargo cache
parent 6eff9a09
No related branches found
No related tags found
No related merge requests found
...@@ -7,22 +7,16 @@ on: ...@@ -7,22 +7,16 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-18.04 runs-on: [self-hosted, linux]
env:
SCCACHE_CACHE_SIZE: "50G"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Cache cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
profile: minimal profile: minimal
toolchain: nightly toolchain: nightly-2020-09-27
override: true override: true
default: true default: true
- name: Install cargo-unleash - name: Install cargo-unleash
......
...@@ -10,22 +10,16 @@ on: ...@@ -10,22 +10,16 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-18.04 runs-on: [self-hosted, linux]
env:
SCCACHE_CACHE_SIZE: "50G"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Cache cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
profile: minimal profile: minimal
toolchain: nightly-2020-05-07 toolchain: nightly-2020-09-27
components: rustfmt components: rustfmt
target: wasm32-unknown-unknown target: wasm32-unknown-unknown
override: true override: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment