mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-07-02 07:33:14 +08:00
Build Ruby-FFI instead of liquid on TruffleRuby.
This commit is contained in:
parent
0141e9fea8
commit
6d6c7fd57c
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
@ -108,11 +108,14 @@ jobs:
|
|||||||
javac HelloWorld.java
|
javac HelloWorld.java
|
||||||
native-image HelloWorld
|
native-image HelloWorld
|
||||||
./helloworld
|
./helloworld
|
||||||
- name: Build Shopify/liquid with TruffleRuby
|
- name: Build Ruby-FFI with TruffleRuby
|
||||||
run: |
|
run: |
|
||||||
[[ $(which bundle) == *"graalvm"* ]] || exit 57
|
[[ $(which bundle) == *"graalvm"* ]] || exit 57
|
||||||
git clone --depth 1 https://github.com/Shopify/liquid.git
|
git clone --depth 1 https://github.com/ffi/ffi.git
|
||||||
pushd liquid > /dev/null
|
pushd ffi > /dev/null
|
||||||
bundle install --jobs=3 --retry=3 --path=vendor/bundle
|
# https://github.com/ffi/ffi/blob/447845cb3030194c79700c86fb388a12e6f81386/.github/workflows/ci.yml#L58-L62
|
||||||
# bundle exec rake (LIQUID C tests take very long to run)
|
bundle install
|
||||||
|
bundle exec rake libffi
|
||||||
|
bundle exec rake compile
|
||||||
|
bundle exec rake test
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user