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 5da90ee
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,11 +53,11 @@ 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
Expand All @@ -75,6 +75,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1.6"
- run: New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
- run: bazel build ...
- run: bazel run lib/gem:add-numbers 2
- run: bazel run lib/gem:print-version
Expand Down

0 comments on commit 5da90ee

Please sign in to comment.