Skip to content

Commit

Permalink
merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
gitofdeepanshu committed Oct 16, 2023
2 parents ad2c526 + 25eec60 commit abce24d
Show file tree
Hide file tree
Showing 119 changed files with 9,663 additions and 8,785 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/base_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,11 @@ on:
tags-ignore:
- v[0-9]+.[0-9]+.[0-9]+*
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
clean-up-actions:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
# Only cancel non-master branch runs
if: ${{ github.ref != 'refs/heads/master' }}
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

compile-and-check:
runs-on: ubuntu-latest
steps:
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,11 @@ on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
workflow_dispatch:
jobs:
clean-up-actions:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
# Only cancel non-master branch runs
if: ${{ github.ref != 'refs/heads/master' }}
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
coverage:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
Expand Down
20 changes: 19 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,14 +205,29 @@ jobs:
native-macos:
needs: checks-and-tests
runs-on: macos-latest
env:
RUSTC_WRAPPER: "sccache"
SCCACHE_BUCKET: ${{ secrets.SCCACHE_BUCKET }}
SCCACHE_REGION: ${{ secrets.SCCACHE_REGION }}
SCCACHE_S3_KEY_PREFIX: "astar-macos"
permissions:
id-token: write
contents: read
steps:
- name: Checkout the source code
uses: actions/checkout@v3
with:
submodules: true

- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.SCCACHE_ROLE }}
role-session-name: github_astar_mac
aws-region: ${{ secrets.SCCACHE_REGION }}

- name: Install deps
run: brew install protobuf
run: brew install protobuf sccache

- name: Install & display rust toolchain
run: rustup show
Expand All @@ -223,6 +238,9 @@ jobs:
- name: Build optimized binary
run: cargo build --release --verbose --locked

- name: Show sccache stats
run: sccache --show-stats

- uses: actions/upload-artifact@v3
with:
name: astar-macOS-latest-x86_64
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ jobs:
days-before-pr-stale: 60
days-before-issue-close: 7
days-before-pr-close: 14
exempt-issue-labels: 'project'
14 changes: 4 additions & 10 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
name: Static Analysis
on: [push, workflow_dispatch]
jobs:
clean-up-actions:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
# Only cancel non-master branch runs
if: ${{ github.ref != 'refs/heads/master' }}
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
fmt:
if: github.event.pull_request.draft == false
runs-on: [self-hosted, Linux, X64]
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,11 @@ on:
tags-ignore:
- v[0-9]+.[0-9]+.[0-9]+*
workflow_dispatch:
jobs:
clean-up-actions:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
# Only cancel non-master branch runs
if: ${{ github.ref != 'refs/heads/master' }}
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
test-runtimes:
runs-on: ubuntu-latest
steps:
Expand Down
Loading

0 comments on commit abce24d

Please sign in to comment.