Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split the manylinux build to two workflows using the docker action #62

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/build-manylinux2014-cuda-aarch64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build manylinux2014 aarch64 + cuda image

on:
push:
branches:
- main
paths:
- 'manylinux2014_cuda_aarch64/*'
- '.github/workflows/build-manylinux2014-cuda-aarch64.yml'
pull_request:
paths:
- 'manylinux2014_cuda_aarch64/*'
- '.github/workflows/build-manylinux2014-cuda-aarch64.yml'
workflow_dispatch:
schedule:
- cron: '30 12 * * 5'

concurrency:
# SHA is added to the end if on `main` to let all main workflows run
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == 'refs/heads/main' && github.sha || '' }}
cancel-in-progress: true

jobs:
package:
uses: Chia-Network/actions/.github/workflows/docker-build.yaml@main
with:
docker-platforms: linux/arm64
docker-context: ./manylinux2014_cuda_aarch64
dockerfile: ./manylinux2014_cuda_aarch64/Dockerfile
image_subpath: manylinux2014_cuda_aarch64
alternate-latest-mode: true
31 changes: 31 additions & 0 deletions .github/workflows/build-manylinux2014-cuda-x86_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build manylinux2014 x86_64 + cuda image

on:
push:
branches:
- main
paths:
- 'manylinux2014_cuda_x86_64/*'
- '.github/workflows/build-manylinux2014-cuda-x86_64.yml'
pull_request:
paths:
- 'manylinux2014_cuda_x86_64/*'
- '.github/workflows/build-manylinux2014-cuda-x86_64.yml'
workflow_dispatch:
schedule:
- cron: '30 12 * * 5'

concurrency:
# SHA is added to the end if on `main` to let all main workflows run
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == 'refs/heads/main' && github.sha || '' }}
cancel-in-progress: true

jobs:
package:
uses: Chia-Network/actions/.github/workflows/docker-build.yaml@main
with:
docker-platforms: linux/amd64
docker-context: ./manylinux2014_cuda_x86_64
dockerfile: ./manylinux2014_cuda_x86_64/Dockerfile
image_subpath: manylinux2014_cuda_x86_64
alternate-latest-mode: true
93 changes: 0 additions & 93 deletions .github/workflows/build-manylinux2014-cuda.yml

This file was deleted.