mirror of
https://github.com/tailix/libkernaux.git
synced 2024-11-27 11:14:42 -05:00
Build example on CI
This commit is contained in:
parent
d89ca7e41a
commit
6b250fb478
1 changed files with 20 additions and 0 deletions
20
.github/workflows/test.yml
vendored
20
.github/workflows/test.yml
vendored
|
@ -42,3 +42,23 @@ jobs:
|
|||
run: cppcheck --quiet --error-exitcode=1 --std=c99 --enable=warning,style,performance,portability --suppress=duplicateExpression --suppress=staticStringCompare examples/
|
||||
- name: cppcheck tests
|
||||
run: cppcheck --quiet --error-exitcode=1 --std=c99 --enable=warning,style,performance,portability --suppress=unusedStructMember tests/
|
||||
|
||||
# TODO: finish this
|
||||
example-kernel-multiboot2-grub:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: dependencies
|
||||
run: sudo apt install build-essential qemu-system-x86 wget
|
||||
- name: vendor-fetch
|
||||
run: ./vendor/fetch.sh
|
||||
- name: vendor-cross-build
|
||||
run: ./vendor/cross/build/i386/build.sh
|
||||
- name: autogen
|
||||
run: ./autogen.sh
|
||||
- name: configure
|
||||
run: PATH="$(pwd)/vendor/cross/bin:$PATH" ./config/i386
|
||||
- name: make
|
||||
run: make libkernaux.a
|
||||
- name: make-example
|
||||
run: cd 'examples/kernel-multiboot2-grub' && make image.iso
|
||||
|
|
Loading…
Reference in a new issue