mirror of https://github.com/tailix/libkernaux.git
Test in freestanding environment
This commit is contained in:
parent
aacc7e3333
commit
39785fdece
|
@ -31,3 +31,24 @@ jobs:
|
|||
run: make
|
||||
- name: check
|
||||
run: make check
|
||||
- name: install
|
||||
run: sudo make install
|
||||
|
||||
freestanding:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
cc: ['gcc', 'clang', 'tcc']
|
||||
assert: ['--enable-assert', '--disable-assert']
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: dependencies
|
||||
run: sudo apt install clang tcc
|
||||
- name: autogen
|
||||
run: ./autogen.sh
|
||||
- name: configure
|
||||
run: ./configure ${{matrix.assert}} CC='${{matrix.cc}}' CFLAGS='-ffreestanding -nostdlib -fno-builtin -fno-stack-protector'
|
||||
- name: make
|
||||
run: make libkernaux.a
|
||||
- name: install
|
||||
run: sudo make install-exec install-data
|
||||
|
|
Loading…
Reference in New Issue