diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 9d0af3c..cc7bc37 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -36,3 +36,30 @@ jobs: - working-directory: pkgs/ruby name: cppcheck run: cppcheck --quiet --error-exitcode=1 --std=c99 --enable=warning,style,performance,portability . + + cond: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.0 + - name: dependencies + run: sudo apt-get --yes install + - name: autogen + run: ./autogen.sh + - name: configure + run: ./configure --without-all CFLAGS='-O3 -fPIC' + - name: make + run: make + - name: install + run: sudo make install + - working-directory: pkgs/ruby + name: bundle + run: bundle install + - working-directory: pkgs/ruby + name: compile + run: rake compile + - working-directory: pkgs/ruby + name: test & lint + run: rake