File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 2525 run : apt-get update && apt-get install -y shellcheck
2626 - name : Shellcheck
2727 run : shellcheck libexec/*
28+ compile-truffleruby :
29+ name : Compile on truffleruby
30+ runs-on : ubuntu-20.04
31+ steps :
32+ - uses : actions/checkout@v3
33+ - uses : ruby/setup-ruby@v1
34+ with :
35+ ruby-version : truffleruby
36+ bundler-cache : true
37+ - run : bundle exec rake compile
2838 build-ruby :
2939 name : Build (ruby)
3040 outputs :
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33require 'mkmf'
4+
5+ if RUBY_ENGINE == "truffleruby"
6+ File . write ( "Makefile" , dummy_makefile ( $srcdir) . join ( "" ) )
7+ return
8+ end
9+
410create_makefile ( 'libv8-node' )
511
612require File . expand_path ( 'location' , __dir__ )
You can’t perform that action at this time.
0 commit comments