nccl-tests/.github/workflows/pre_check.yml
2025-12-21 14:13:42 +08:00

29 lines
812 B
YAML

on:
pull_request:
workflow_dispatch:
jobs:
build-only:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Free disk space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf /opt/hostedtoolcache
sudo docker system prune -af || true
df -h
- name: Build run package
run: |
docker buildx build \
-f docker/Dockerfile.cuda13.x.ubuntu22.04 \
--platform linux/amd64 \
--target package \
--output type=local,dest=dist/cuda13.x.ubuntu22.04 \
.
- name: List artifacts
run: |
ls -lh dist/cuda13.x.ubuntu22.04