Add workflow files for test CI jobs #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | ||
on: | ||
# TODO: When we've decided on a format for release branches, add the pattern to this filter | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
call-build-wheels: | ||
strategy: | ||
matrix: | ||
python-version: ["3.10.13"] | ||
rocm-version: ["6.3.3" ] | ||
uses: jax/rocm-jax/.github/workflows/reuseable/build-wheels.yml@master | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
rocm-version: ${{ matrix.rocm-version }} | ||
call-build-docker: | ||
strategy: | ||
matrix: | ||
python-version: ["3.10.13"] | ||
rocm-version: ["6.3.3"] | ||
uses: jax/rocm-jax/.github/workflows/reusable/build-docker.yml@master | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
rocm-version: ${{ matrix.python-version }} | ||
run-python-unit-tests: | ||
- name: Run tests | ||
env: | ||
GPU_COUNT: "8" | ||
GFX: "gfx90a" | ||
WORKSPACE_DIR: workspace_ci_123 | ||
run: | | ||
cd $WORKSPACE_DIR | ||
python3 build/ci_build test $TEST_IMAGE --test-cmd "pytest tests" | ||