Skip to content

Commit

Permalink
trying to build with ruby 3.0 on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
divinity666 committed Feb 22, 2024
1 parent 48b6cb5 commit 81f003d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Rakefile
Expand Up @@ -83,7 +83,11 @@ task :buildexe do
GEMFILE_OPT = ""
GEMFILE_OPT = "--gemfile Gemfile" if ENV['APPVEYOR']

sh "dir C:\\Ruby27\\bin\\ruby_builtin_dlls\\"
sh "dir C:\\Ruby27-x64\\bin\\ruby_builtin_dlls\\"
sh "dir C:\\Ruby30-x64\\bin\\ruby_builtin_dlls\\"
sh "dir C:\\Ruby31-x64\\bin\\ruby_builtin_dlls\\"
sh "dir C:\\Ruby32-x64\\bin\\ruby_builtin_dlls\\"

sh "ocra bin/ruby-grafana-reporter #{GEMFILE_OPT} --dll ruby_builtin_dlls/libssp-0.dll --dll ruby_builtin_dlls/libssl-1_1-x64.dll --dll ruby_builtin_dlls/libcrypto-1_1-x64.dll --dll ruby_builtin_dlls/libgmp-10.dll --dll ruby_builtin_dlls/zlib1.dll --console --output ruby-grafana-reporter-#{GRAFANA_REPORTER_VERSION.join('.')}.exe #{OpenSSL::X509::DEFAULT_CERT_FILE}"
end
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -22,7 +22,7 @@ for:

install:
- tzutil /s "W. Europe Standard Time"
- set PATH=C:\Ruby27-x64\bin
- set PATH=C:\Ruby30-x64\bin
- bundle install

build_script:
Expand Down

0 comments on commit 81f003d

Please sign in to comment.