Skip to content

Commit

Permalink
[CI] Remove Windows CI image workaround
Browse files Browse the repository at this point in the history
The issue has been fixed in actions/runner-images#10014, which has been fully
deployed since. Since this issue happened the last time LLVM was updated within
MSVC, our build might be broken again without warning the next time too.
  • Loading branch information
fhanau committed Jun 15, 2024
1 parent 408b841 commit 618d6a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ jobs:
run: |
# Set a custom output root directory to avoid long file name issues.
[System.IO.File]::WriteAllLines((Join-Path -Path $env:USERPROFILE -ChildPath '.bazelrc'), 'startup --output_user_root=C:/tmp')
[System.IO.File]::WriteAllLines((Join-Path -Path $env:USERPROFILE -ChildPath '.bazelrc'), 'build:windows --copt=/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR --host_copt=/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR')
choco upgrade llvm --allow-downgrade --version=17.0.6
- name: Configure download mirrors
shell: bash
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ jobs:
# Set a custom output root directory to avoid long file name issues.
run: |
[System.IO.File]::WriteAllLines((Join-Path -Path $env:USERPROFILE -ChildPath '.bazelrc'), 'startup --output_user_root=C:/tmp')
# TODO(cleanup): Work around https://github.com/actions/runner-images/issues/10004. Drop
# this after the updated image has been fully rolled out.
[System.IO.File]::WriteAllLines((Join-Path -Path $env:USERPROFILE -ChildPath '.bazelrc'), 'build:windows --copt=/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR --host_copt=/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR')
choco upgrade llvm --allow-downgrade --version=17.0.6
- name: Configure download mirrors
shell: bash
run: |
Expand Down

0 comments on commit 618d6a9

Please sign in to comment.