We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e35a4fa + abae20e commit 6da5856Copy full SHA for 6da5856
.github/workflows/build.yml
@@ -25,6 +25,16 @@ jobs:
25
run: apt-get update && apt-get install -y shellcheck
26
- name: Shellcheck
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
38
build-ruby:
39
name: Build (ruby)
40
outputs:
ext/libv8-node/extconf.rb
@@ -1,6 +1,12 @@
1
# frozen_string_literal: true
2
3
require 'mkmf'
4
+
5
+if RUBY_ENGINE == "truffleruby"
6
+ File.write("Makefile", dummy_makefile($srcdir).join(""))
7
+ return
8
+end
9
10
create_makefile('libv8-node')
11
12
require File.expand_path('location', __dir__)
0 commit comments