mirror of
https://github.com/tailix/libkernaux.git
synced 2025-03-17 17:14:00 -04:00
Test mruby package
This commit is contained in:
parent
0f083849b1
commit
47d4d4203b
4 changed files with 18 additions and 1 deletions
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
@ -55,8 +55,16 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- name: dependencies
|
||||
run: sudo apt-get -y install cppcheck
|
||||
run: sudo apt-get -y install cppcheck rake
|
||||
- working-directory: vendor/mruby
|
||||
name: build config
|
||||
run: cp ../../pkgs/mruby/build_config.rb
|
||||
- working-directory: vendor/mruby
|
||||
name: test
|
||||
run: rake test
|
||||
- working-directory: pkgs/mruby
|
||||
name: cppcheck
|
||||
run: cppcheck --quiet --error-exitcode=1 --std=c99 --enable=warning,style,performance,portability .
|
||||
|
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -11,3 +11,6 @@
|
|||
[submodule "vendor/u-boot"]
|
||||
path = vendor/u-boot
|
||||
url = https://source.denx.de/u-boot/u-boot.git
|
||||
[submodule "vendor/mruby"]
|
||||
path = vendor/mruby
|
||||
url = https://github.com/mruby/mruby.git
|
||||
|
|
5
pkgs/mruby/build_config.rb
Normal file
5
pkgs/mruby/build_config.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
MRuby::Build.new do |conf|
|
||||
conf.toolchain
|
||||
conf.enable_test
|
||||
conf.gem '../../pkgs/mruby'
|
||||
end
|
1
vendor/mruby
vendored
Submodule
1
vendor/mruby
vendored
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 0cd12c6d6f2f75cb0a246869c46b696433b33c57
|
Loading…
Add table
Reference in a new issue