Skip to content

Commit

Permalink
Clean up + Merge composite actions (setup/build/test) into a single w…
Browse files Browse the repository at this point in the history
…orkflow

Making them reusable workflows are not possible because they would
not be callable as a single job step (which was what composite actions
are for). But the steps in these actions are so tiny and problem-specific
that making them standalone is hard to maintain anyway, so a single,
moderate-sized workflow is acceptable.
  • Loading branch information
leofang committed Dec 15, 2024
1 parent b0492d7 commit 243a46f
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 353 deletions.
115 changes: 0 additions & 115 deletions .github/actions/build/action.yml

This file was deleted.

90 changes: 0 additions & 90 deletions .github/actions/setup/action.yml

This file was deleted.

86 changes: 0 additions & 86 deletions .github/actions/test/action.yml

This file was deleted.

11 changes: 1 addition & 10 deletions .github/workflows/ci-gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,11 @@ jobs:
strategy:
fail-fast: false
matrix:
# TODO: align host-platform names with conda convention
host-platform:
- linux-x64
- linux-aarch64
- win-x64
target-device:
- gpu
build-mode:
- release
upload-enabled:
- false
python-version:
- "3.13"
- "3.12"
Expand All @@ -40,10 +35,6 @@ jobs:
./.github/workflows/gh-build-and-test.yml
with:
host-platform: ${{ matrix.host-platform }}
target-device: ${{ matrix.target-device }}
build-mode: ${{ matrix.build-mode }}
build-type: ci
upload-enabled: ${{ matrix.upload-enabled }}
python-version: ${{ matrix.python-version }}
cuda-version: ${{ matrix.cuda-version }}
secrets: inherit
Loading

0 comments on commit 243a46f

Please sign in to comment.