From 10e55f6d299abeea3b9784639b08a75f7f4f6e45 Mon Sep 17 00:00:00 2001 From: snider Date: Mon, 6 Oct 2025 22:27:17 +0100 Subject: [PATCH] Refactor CI workflow job names for clarity and consistency across platforms --- .github/workflows/_on-push.yml | 10 +++++----- .github/workflows/build-linux-arm64.yml | 8 ++++---- .github/workflows/build-linux-intel.yml | 6 +++--- .github/workflows/build-macos-arm64.yml | 6 +++--- .github/workflows/build-macos-intel.yml | 6 +++--- .github/workflows/build-windows-intel.yml | 12 ++++++------ 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/_on-push.yml b/.github/workflows/_on-push.yml index 4c090e81..bc6717ca 100644 --- a/.github/workflows/_on-push.yml +++ b/.github/workflows/_on-push.yml @@ -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' }} diff --git a/.github/workflows/build-linux-arm64.yml b/.github/workflows/build-linux-arm64.yml index 09a49d3d..6e15b24d 100644 --- a/.github/workflows/build-linux-arm64.yml +++ b/.github/workflows/build-linux-arm64.yml @@ -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: diff --git a/.github/workflows/build-linux-intel.yml b/.github/workflows/build-linux-intel.yml index b145a16d..ba68329a 100644 --- a/.github/workflows/build-linux-intel.yml +++ b/.github/workflows/build-linux-intel.yml @@ -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: diff --git a/.github/workflows/build-macos-arm64.yml b/.github/workflows/build-macos-arm64.yml index b185df6e..8477d630 100644 --- a/.github/workflows/build-macos-arm64.yml +++ b/.github/workflows/build-macos-arm64.yml @@ -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: diff --git a/.github/workflows/build-macos-intel.yml b/.github/workflows/build-macos-intel.yml index 046ee04a..697df5fd 100644 --- a/.github/workflows/build-macos-intel.yml +++ b/.github/workflows/build-macos-intel.yml @@ -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: diff --git a/.github/workflows/build-windows-intel.yml b/.github/workflows/build-windows-intel.yml index d5cc6da3..d5bb77f0 100644 --- a/.github/workflows/build-windows-intel.yml +++ b/.github/workflows/build-windows-intel.yml @@ -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