Migrate workflows to Blacksmith (#2414)
Co-authored-by: blacksmith-sh[bot] <157653362+blacksmith-sh[bot]@users.noreply.github.com>
This commit is contained in:
parent
ebfc63c42b
commit
c523d49590
6 changed files with 14 additions and 14 deletions
2
.github/workflows/ai-triage.yml
vendored
2
.github/workflows/ai-triage.yml
vendored
|
|
@ -12,7 +12,7 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
triage:
|
triage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
4
.github/workflows/build-native.yml
vendored
4
.github/workflows/build-native.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
||||||
target: x86_64-unknown-linux-gnu
|
target: x86_64-unknown-linux-gnu
|
||||||
platform: linux-x64-gnu
|
platform: linux-x64-gnu
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
target: aarch64-unknown-linux-gnu
|
target: blacksmith-4vcpu-ubuntu-2404-arm
|
||||||
platform: linux-arm64-gnu
|
platform: linux-arm64-gnu
|
||||||
cross: true
|
cross: true
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
|
|
@ -97,7 +97,7 @@ jobs:
|
||||||
publish:
|
publish:
|
||||||
needs: build
|
needs: build
|
||||||
if: startsWith(github.ref, 'refs/tags/v') || github.event.inputs.publish == 'true'
|
if: startsWith(github.ref, 'refs/tags/v') || github.event.inputs.publish == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||||
name: Publish platform packages
|
name: Publish platform packages
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -25,7 +25,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
detect-changes:
|
detect-changes:
|
||||||
timeout-minutes: 2
|
timeout-minutes: 2
|
||||||
runs-on: ubuntu-latest
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||||
outputs:
|
outputs:
|
||||||
docs-only: ${{ steps.check.outputs.docs-only }}
|
docs-only: ${{ steps.check.outputs.docs-only }}
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -61,7 +61,7 @@ jobs:
|
||||||
|
|
||||||
docs-check:
|
docs-check:
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
runs-on: ubuntu-latest
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||||
needs: detect-changes
|
needs: detect-changes
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
@ -74,7 +74,7 @@ jobs:
|
||||||
lint:
|
lint:
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
needs: detect-changes
|
needs: detect-changes
|
||||||
runs-on: ubuntu-latest
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
|
|
@ -105,7 +105,7 @@ jobs:
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
needs: detect-changes
|
needs: detect-changes
|
||||||
if: needs.detect-changes.outputs.docs-only != 'true'
|
if: needs.detect-changes.outputs.docs-only != 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|
@ -147,7 +147,7 @@ jobs:
|
||||||
if: >-
|
if: >-
|
||||||
needs.detect-changes.outputs.docs-only != 'true' &&
|
needs.detect-changes.outputs.docs-only != 'true' &&
|
||||||
github.event_name == 'push' && github.ref == 'refs/heads/main'
|
github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
runs-on: windows-latest
|
runs-on: blacksmith-4vcpu-windows-2025
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|
|
||||||
2
.github/workflows/cleanup-dev-versions.yml
vendored
2
.github/workflows/cleanup-dev-versions.yml
vendored
|
|
@ -11,7 +11,7 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
cleanup:
|
cleanup:
|
||||||
name: Remove stale -dev versions
|
name: Remove stale -dev versions
|
||||||
runs-on: ubuntu-latest
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v6
|
- uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
8
.github/workflows/pipeline.yml
vendored
8
.github/workflows/pipeline.yml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
dev-publish:
|
dev-publish:
|
||||||
name: Dev Publish
|
name: Dev Publish
|
||||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/gsd-build/gsd-ci-builder:latest
|
image: ghcr.io/gsd-build/gsd-ci-builder:latest
|
||||||
credentials:
|
credentials:
|
||||||
|
|
@ -71,7 +71,7 @@ jobs:
|
||||||
test-verify:
|
test-verify:
|
||||||
name: Test & Verify
|
name: Test & Verify
|
||||||
needs: dev-publish
|
needs: dev-publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
|
|
@ -129,7 +129,7 @@ jobs:
|
||||||
prod-release:
|
prod-release:
|
||||||
name: Production Release
|
name: Production Release
|
||||||
needs: [dev-publish, test-verify]
|
needs: [dev-publish, test-verify]
|
||||||
runs-on: ubuntu-latest
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||||
environment: prod
|
environment: prod
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
@ -240,7 +240,7 @@ jobs:
|
||||||
update-builder:
|
update-builder:
|
||||||
name: Update CI Builder Image
|
name: Update CI Builder Image
|
||||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
2
.github/workflows/pr-risk.yml
vendored
2
.github/workflows/pr-risk.yml
vendored
|
|
@ -14,7 +14,7 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
risk-check:
|
risk-check:
|
||||||
name: Classify changed files and assess risk
|
name: Classify changed files and assess risk
|
||||||
runs-on: ubuntu-latest
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Checkout the BASE branch — our trusted script and map, not fork code.
|
# Checkout the BASE branch — our trusted script and map, not fork code.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue