1
0
Fork 0
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:
Alex Kotov 2022-01-12 09:55:19 +05:00
parent d89ca7e41a
commit 6b250fb478
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -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