Nightly Tests Intel GPUs #835
This file contains 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: Nightly Tests Intel GPUs | |
on: | |
schedule: | |
- cron: '* * * * *' | |
jobs: | |
check-queue: | |
runs-on: ubuntu-latest | |
outputs: | |
should_run: ${{ steps.check.outputs.should_run }} | |
steps: | |
- name: Check workflow status | |
id: check | |
run: | | |
queued_or_in_progress=$(gh run list --workflow "${{ github.workflow }}" --json status --jq '.[] | select(.status=="queued" or .status=="in_progress") | .status' | wc -l) | |
echo "Number of queued or in-progress runs: $queued_or_in_progress" | |
if [ "$queued_or_in_progress" -eq "0" ]; then | |
echo "should_run=true" >> $GITHUB_OUTPUT | |
else | |
echo "should_run=false" >> $GITHUB_OUTPUT | |
fi | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
unit-tests-llvm-19-release: | |
needs: check-queue | |
if: needs.check-queue.outputs.should_run == 'true' | |
runs-on: [self-hosted, X64] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: 'recursive' | |
- name: Run Intel GPU Unit Tests | |
shell: bash | |
run: | | |
cp -r /space/chipStar/build ./ && ./scripts/unit_tests.sh release llvm-19 --skip-build --num-tries 10 | |