forked from lthn/blockchain
Refactor CI workflow job names for clarity and consistency across platforms
This commit is contained in:
parent
0181c86283
commit
10e55f6d29
6 changed files with 24 additions and 24 deletions
10
.github/workflows/_on-push.yml
vendored
10
.github/workflows/_on-push.yml
vendored
|
|
@ -17,31 +17,31 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
build-linux-intel:
|
||||
name: Chain
|
||||
name: Linux
|
||||
uses: ./.github/workflows/build-linux-intel.yml
|
||||
with:
|
||||
chain-network: ${{ github.ref_name == 'main' && 'mainnet' || 'testnet' }}
|
||||
|
||||
build-linux-arm:
|
||||
name: Chain
|
||||
name: Linux
|
||||
uses: ./.github/workflows/build-linux-arm64.yml
|
||||
with:
|
||||
chain-network: ${{ github.ref_name == 'main' && 'mainnet' || 'testnet' }}
|
||||
|
||||
build-windows-intel:
|
||||
name: Chain
|
||||
name: Windows
|
||||
uses: ./.github/workflows/build-windows-intel.yml
|
||||
with:
|
||||
chain-network: ${{ github.ref_name == 'main' && 'mainnet' || 'testnet' }}
|
||||
|
||||
build-macos-arm64:
|
||||
name: Chain
|
||||
name: MacOS
|
||||
uses: ./.github/workflows/build-macos-arm64.yml
|
||||
with:
|
||||
chain-network: ${{ github.ref_name == 'main' && 'mainnet' || 'testnet' }}
|
||||
|
||||
build-macos-intel:
|
||||
name: Chain
|
||||
name: MacOS
|
||||
uses: ./.github/workflows/build-macos-intel.yml
|
||||
with:
|
||||
chain-network: ${{ github.ref_name == 'main' && 'mainnet' || 'testnet' }}
|
||||
|
|
|
|||
8
.github/workflows/build-linux-arm64.yml
vendored
8
.github/workflows/build-linux-arm64.yml
vendored
|
|
@ -12,7 +12,7 @@ on:
|
|||
|
||||
jobs:
|
||||
cache:
|
||||
name: gcc-linux-arm64
|
||||
name: cache-arm64
|
||||
runs-on: ubuntu-22.04-arm
|
||||
steps:
|
||||
- name: Cache SDK Folder
|
||||
|
|
@ -43,12 +43,12 @@ jobs:
|
|||
- if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: pip install mkdocs-material mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2 mkdocs-git-authors-plugin "mkdocs-material[imaging]"
|
||||
|
||||
- name: Compile Release
|
||||
- name: Compile Dependencies
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: make release CPU_CORES=4 TESTNET=${{ inputs.chain-network == 'testnet' && '1' || '0' }}
|
||||
run: make build-deps CPU_CORES=4 TESTNET=${{ inputs.chain-network == 'testnet' && '1' || '0' }}
|
||||
|
||||
build:
|
||||
name: gcc-linux-arm64
|
||||
name: compile-arm64
|
||||
needs: cache
|
||||
runs-on: ubuntu-22.04-arm
|
||||
steps:
|
||||
|
|
|
|||
6
.github/workflows/build-linux-intel.yml
vendored
6
.github/workflows/build-linux-intel.yml
vendored
|
|
@ -12,7 +12,7 @@ on:
|
|||
|
||||
jobs:
|
||||
cache:
|
||||
name: gcc-linux-x86_64
|
||||
name: cache-x86_64
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Cache SDK Folder
|
||||
|
|
@ -43,13 +43,13 @@ jobs:
|
|||
- if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: pip install mkdocs-material mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2 mkdocs-git-authors-plugin "mkdocs-material[imaging]"
|
||||
|
||||
- name: Compile Release
|
||||
- name: Compile Dependencies
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: make build-deps CPU_CORES=4 TESTNET=${{ inputs.chain-network == 'testnet' && '1' || '0' }}
|
||||
|
||||
|
||||
build:
|
||||
name: gcc-linux-x86_64
|
||||
name: compile-x86_64
|
||||
needs: cache
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
|
|
|
|||
6
.github/workflows/build-macos-arm64.yml
vendored
6
.github/workflows/build-macos-arm64.yml
vendored
|
|
@ -13,7 +13,7 @@ on:
|
|||
|
||||
jobs:
|
||||
cache:
|
||||
name: apple-clang-armv8
|
||||
name: cache-armv8
|
||||
runs-on: macos-15
|
||||
steps:
|
||||
- name: Cache SDK Folder
|
||||
|
|
@ -41,12 +41,12 @@ jobs:
|
|||
- if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: pip install mkdocs-material mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2 mkdocs-git-authors-plugin "mkdocs-material[imaging]"
|
||||
|
||||
- name: Compile Release
|
||||
- name: Compile Dependencies
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: make build-deps CPU_CORES=3 TESTNET=${{ inputs.chain-network == 'testnet' && '1' || '0' }}
|
||||
|
||||
build:
|
||||
name: apple-clang-armv8
|
||||
name: compile-armv8
|
||||
needs: cache
|
||||
runs-on: macos-15
|
||||
steps:
|
||||
|
|
|
|||
6
.github/workflows/build-macos-intel.yml
vendored
6
.github/workflows/build-macos-intel.yml
vendored
|
|
@ -12,7 +12,7 @@ on:
|
|||
|
||||
jobs:
|
||||
cache:
|
||||
name: apple-clang-x86_64
|
||||
name: cache-x86_64
|
||||
runs-on: macos-13
|
||||
steps:
|
||||
- name: Cache SDK Folder
|
||||
|
|
@ -39,12 +39,12 @@ jobs:
|
|||
- if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: pip install mkdocs-material mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2 mkdocs-git-authors-plugin "mkdocs-material[imaging]"
|
||||
|
||||
- name: Compile Release
|
||||
- name: Compile Dependencies
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: make build-deps CPU_CORES=4 TESTNET=${{ inputs.chain-network == 'testnet' && '1' || '0' }}
|
||||
|
||||
build:
|
||||
name: apple-clang-x86_64
|
||||
name: compile-x86_64
|
||||
needs: cache
|
||||
runs-on: macos-13
|
||||
steps:
|
||||
|
|
|
|||
12
.github/workflows/build-windows-intel.yml
vendored
12
.github/workflows/build-windows-intel.yml
vendored
|
|
@ -11,8 +11,8 @@ on:
|
|||
type: string
|
||||
|
||||
jobs:
|
||||
msvc-194-cache:
|
||||
name: cache-msvc-194-x86_64
|
||||
cache:
|
||||
name: cache-x86_64
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Cache SDK Folder
|
||||
|
|
@ -39,13 +39,13 @@ jobs:
|
|||
- if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: pip install mkdocs-material mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2 mkdocs-git-authors-plugin "mkdocs-material[imaging]"
|
||||
|
||||
- name: Compile Release
|
||||
- name: Compile Dependencies
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: make build-deps CPU_CORES=4 TESTNET=${{ inputs.chain-network == 'testnet' && '1' || '0' }}
|
||||
|
||||
msvc-194:
|
||||
name: msvc-194-x86_64
|
||||
needs: msvc-194-cache
|
||||
build:
|
||||
name: compile-x86_64
|
||||
needs: cache
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Checkout Project
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue