Skip to content

Commit

Permalink
Use common 'setup-env' GH action for CPU instructions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lrubasze committed Oct 17, 2023
1 parent 2f31d54 commit 7ebc80c
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions .github/workflows/cpu_instructions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Setup dependencies
run: rustup target add wasm32-unknown-unknown
- name: Setup environment
uses: ./.github/actions/setup-env
- name: Build radix-engine-tests
run: |
cd radix-engine-tests
Expand Down Expand Up @@ -53,11 +50,8 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Setup dependencies
run: rustup target add wasm32-unknown-unknown
- name: Setup environment
uses: ./.github/actions/setup-env
- name: Build tests
run: |
cargo test --release --no-run --features resource_tracker --workspace --exclude radix-engine-tests
Expand Down Expand Up @@ -91,9 +85,8 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Setup environment
uses: ./.github/actions/setup-env
- name: Setup dependencies
run: |
sudo apt-get update
Expand Down Expand Up @@ -132,11 +125,8 @@ jobs:
bin-cache: [1, 2, 3, 4]
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Setup dependencies
run: rustup target add wasm32-unknown-unknown
- name: Setup environment
uses: ./.github/actions/setup-env
- name: Read cache QEMU binary
uses: actions/cache/restore@v3
with:
Expand Down

0 comments on commit 7ebc80c

Please sign in to comment.