Skip to content
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
1 change: 1 addition & 0 deletions .github/workflows/sycl_precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- '.github/CODEOWNERS'
- '.github/workflows/sycl_update_gpu_driver.yml'
- 'devops/containers/**'
- 'devops/scripts/install_drivers.sh'
- 'devops/scripts/install_build_tools.sh'
Expand Down
36 changes: 4 additions & 32 deletions .github/workflows/sycl_update_gpu_driver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,41 +18,13 @@ jobs:
- name: Create Pull Request
env:
BRANCH: ci/update_gpu_driver-linux-${{ env.NEW_DRIVER_VERSION }}
LLVMBOT_TOKEN: ${{ secrets.LLVM_MAIN_SYNC_BBSYCL_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.LLVM_MAIN_SYNC_BBSYCL_TOKEN }}
run: |
cd $GITHUB_WORKSPACE
# Set fake identity to fulfil git requirements
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
git checkout -B $BRANCH
git add -u
git commit -m "[GHA] Uplift GPU RT version for Linux CI" || exit 0 # exit if commit is empty
git push https://$LLVMBOT_TOKEN@github.com/${{ github.repository }} ${BRANCH}
gh pr create --head $BRANCH --title "[GHA] Uplift GPU RT version for Linux CI" --body "Uplift GPU RT version for Linux to $NEW_DRIVER_VERSION"

update_driver_linux_staging:
runs-on: ubuntu-latest
if: github.repository == 'intel/llvm'
steps:
- uses: actions/checkout@v2
- name: Update dependencies file
run: |
version="$(python3 devops/scripts/update_drivers.py linux_staging)"
echo 'NEW_DRIVER_VERSION='$version >> $GITHUB_ENV
- name: Update sycl Branch
env:
BRANCH: ci/update_gpu_driver-linux_staging-${{ env.NEW_DRIVER_VERSION }}
LLVMBOT_TOKEN: ${{ secrets.LLVM_MAIN_SYNC_BBSYCL_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd $GITHUB_WORKSPACE
# Set fake identity to fulfil git requirements
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
git checkout -B $BRANCH
git add -u
git commit -m "[GHA] Uplift GPU RT version for Nightly Builds" || exit 0 # exit if commit is empty
git push https://$LLVMBOT_TOKEN@github.com/${{ github.repository }} ${BRANCH}
gh pr create --head $BRANCH --title "[GHA] Uplift GPU RT version for Nightly Builds" --body "Uplift GPU RT version for Linux to $NEW_DRIVER_VERSION"

git commit -m "[GHA] Uplift Linux GPU RT version to $NEW_DRIVER_VERSION" || exit 0 # exit if commit is empty
git push https://$GITHUB_TOKEN@github.com/${{ github.repository }} ${BRANCH}
gh pr create --head $BRANCH --title "[GHA] Uplift Linux GPU RT version to $NEW_DRIVER_VERSION" --body "Scheduled drivers uplift"