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 25
25
run : apt-get update && apt-get install -y shellcheck
26
26
- name : Shellcheck
27
27
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
28
38
build-ruby :
29
39
name : Build (ruby)
30
40
outputs :
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
3
require 'mkmf'
4
+
5
+ if RUBY_ENGINE == "truffleruby"
6
+ File . write ( "Makefile" , dummy_makefile ( $srcdir) . join ( "" ) )
7
+ return
8
+ end
9
+
4
10
create_makefile ( 'libv8-node' )
5
11
6
12
require File . expand_path ( 'location' , __dir__ )
You can’t perform that action at this time.
0 commit comments