mirror of
https://github.com/tailix/libkernaux.git
synced 2024-10-30 11:54:01 -04:00
31 lines
799 B
YAML
31 lines
799 B
YAML
name: mruby
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: true
|
|
- name: dependencies
|
|
run: sudo apt-get --yes install cppcheck rake
|
|
- name: autogen
|
|
run: ./autogen.sh
|
|
- name: configure
|
|
run: ./configure CFLAGS='-O3 -fPIC'
|
|
- name: make
|
|
run: make
|
|
- name: install
|
|
run: sudo make install
|
|
- working-directory: vendor/mruby
|
|
name: test
|
|
run: MRUBY_CONFIG=../../pkgs/mruby/build_config.rb rake test
|
|
- working-directory: pkgs/mruby
|
|
name: cppcheck
|
|
run: cppcheck --quiet --error-exitcode=1 --std=c99 --enable=warning,style,performance,portability .
|