Skip to content

Commit

Permalink
ci: enable long path on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed Dec 21, 2024
1 parent 4fde5ff commit f3c710d
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ jobs:
fail-fast: false
matrix:
ruby:
- 3.1.6
- 3.2.6
- 3.3.6
- 3.4.0-preview2
# - 3.1.6
# - 3.2.6
# - 3.3.6
# - 3.4.0-preview2
- jruby-9.4.9.0
- truffleruby-24.1.1
- system
# - truffleruby-24.1.1
# - system
os:
- ubuntu-latest
# Use Intel-based macOS for now because Ruby 3.1 doesn't compile on Apple Silicon.
- macos-13
# - ubuntu-latest
# # Use Intel-based macOS for now because Ruby 3.1 doesn't compile on Apple Silicon.
# - macos-13
- windows-latest
mode:
- bzlmod
Expand All @@ -53,18 +53,19 @@ jobs:
# Previews are unavailable on Windows.
- os: windows-latest
ruby: 3.4.0-preview2
# JRuby with bzlmod fails with long path issues on Windows.
# See #64
- os: windows-latest
ruby: jruby-9.4.9.0
mode: bzlmod
# # JRuby with WORKSPACE fails with long path issues on Windows.
# # See #64
# - os: windows-latest
# ruby: jruby-9.4.9.0
# mode: WORKSPACE
# TruffleRuby doesn't work on Windows.
- os: windows-latest
ruby: truffleruby-24.1.1
defaults:
run:
working-directory: examples/gem
steps:
- run: New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
- uses: actions/checkout@v4
- uses: bazel-contrib/[email protected]
with:
Expand Down

0 comments on commit f3c710d

Please sign in to comment.