From 13fc89d47d3a39f9637b13762cf14d58c028eb6c Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Tue, 18 Jan 2022 22:31:34 +0500 Subject: [PATCH] Test Ruby gem --- .github/workflows/test.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1c7b464..4fd77fa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,6 +19,10 @@ jobs: guard: ['--enable-guard', '--disable-guard'] steps: - uses: actions/checkout@v2 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.0 + - name: dependencies run: sudo apt-get -y install clang tcc - name: autogen @@ -32,6 +36,16 @@ jobs: - name: install run: sudo make install + - name: bundle + working-directory: pkgs/ruby + run: bundle install + - name: rake compile + working-directory: pkgs/ruby + run: rake compile + - name: test + working-directory: pkgs/ruby + run: rake + cppcheck: runs-on: ubuntu-latest steps: