mirror of
https://github.com/tailix/libkernaux.git
synced 2025-02-24 15:55:41 -05:00
Test Ruby conditional compilation
This commit is contained in:
parent
80ccc1caaa
commit
04f7b2938b
1 changed files with 27 additions and 0 deletions
27
.github/workflows/ruby.yml
vendored
27
.github/workflows/ruby.yml
vendored
|
@ -36,3 +36,30 @@ jobs:
|
||||||
- working-directory: pkgs/ruby
|
- working-directory: pkgs/ruby
|
||||||
name: cppcheck
|
name: cppcheck
|
||||||
run: cppcheck --quiet --error-exitcode=1 --std=c99 --enable=warning,style,performance,portability .
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue