Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
samelamin committed Oct 5, 2023
1 parent 1987541 commit ded4454
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ on:
- main
paths-ignore:
- "**.md"
env:
CARGO_TERM_COLOR: always
GCP_ZONE: europe-west3-a
# HOME: /home/ubuntu
env:
CARGO_TERM_COLOR: always
GCP_ZONE: europe-west3-a

jobs:
create-runner:
runs-on: ubuntu-latest
Expand All @@ -40,6 +40,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: echo region
run: echo $GCP_ZONE

- name: echo region2
run: echo ${{ env.$GCP_ZONE }}

- name: Set HOME
run: echo "HOME=/home/ubuntu" >> ${GITHUB_ENV}

Expand All @@ -62,11 +68,4 @@ jobs:
args: --check

- name: Run tests with benchmarks
run: cargo test --features runtime-benchmarks

# - name: Delete runner VM
# if: always()
# run: >
# gcloud compute instances delete
# gce-gh-runner-${{ github.run_id }}-${{ github.run_attempt }}
# --quiet --zone europe-west2-a
run: cargo test --features runtime-benchmarks

0 comments on commit ded4454

Please sign in to comment.