Skip to content

Merge pull request #2844 from S-H-GAMELINKS/add/node-newline-method-type #1

Merge pull request #2844 from S-H-GAMELINKS/add/node-newline-method-type

Merge pull request #2844 from S-H-GAMELINKS/add/node-newline-method-type #1

Workflow file for this run

name: C++ bindings
on:
push:
paths:
- ".github/workflows/cpp-bindings.yml"
- "include/"
- "src/"
- "cpp/"
- "*akefile*"
branches:
- main
pull_request:
jobs:
test:
name: test
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
bundler-cache: true
- name: Compile prism
run: bundle exec rake compile
- name: Compile C++
run: g++ -o ./cpp_test cpp/test.cpp build/static/*.o build/static/util/*.o -Iinclude
- name: Run C++
run: ./cpp_test