|
@ -1,4 +1,4 @@ |
|
|
|
|
|
--- |
|
|
name: Testing |
|
|
name: Testing |
|
|
|
|
|
|
|
|
on: |
|
|
on: |
|
@ -66,7 +66,9 @@ jobs: |
|
|
|
|
|
|
|
|
- name: Run the real configure step |
|
|
- name: Run the real configure step |
|
|
run: | |
|
|
run: | |
|
|
CFLAGS="-fprofile-arcs -ftest-coverage" LDFLAGS="--coverage" ./configure --with-zstd |
|
|
export CFLAGS="-fprofile-arcs -ftest-coverage" |
|
|
|
|
|
export LDFLAGS="--coverage" |
|
|
|
|
|
./configure --with-zstd |
|
|
shell: bash |
|
|
shell: bash |
|
|
|
|
|
|
|
|
- name: Run embedded tests |
|
|
- name: Run embedded tests |
|
@ -129,7 +131,9 @@ jobs: |
|
|
|
|
|
|
|
|
- name: Run the real configure step |
|
|
- name: Run the real configure step |
|
|
run: | |
|
|
run: | |
|
|
CFLAGS="-fprofile-arcs -ftest-coverage" LDFLAGS="--coverage" ./configure --with-zstd |
|
|
export CFLAGS="-fprofile-arcs -ftest-coverage" |
|
|
|
|
|
export LDFLAGS="--coverage" |
|
|
|
|
|
./configure --with-zstd |
|
|
shell: bash |
|
|
shell: bash |
|
|
|
|
|
|
|
|
- name: Run embedded tests |
|
|
- name: Run embedded tests |
|
@ -153,11 +157,12 @@ jobs: |
|
|
- name: Generate coverage reports |
|
|
- name: Generate coverage reports |
|
|
run: | |
|
|
run: | |
|
|
make gcov |
|
|
make gcov |
|
|
# This was working fine for tens of jobs, up until 2021-10-19T18:53+0100 |
|
|
# This was working fine for tens of jobs, up until |
|
|
# and it still works fine when run from my personal github actions. |
|
|
# 2021-10-19T18:53+0100 and it still works fine when run from my |
|
|
# The next run at 2021-10-19T19:08+0100 didnt work. |
|
|
# personal github actions. The next run at 2021-10-19T19:08+0100 |
|
|
# Assume that they changed something on the runner - I cannot debug it |
|
|
# didnt work. |
|
|
# as I do not have a Mac. |
|
|
# Assume that they changed something on the runner - I cannot debug |
|
|
|
|
|
# it as I do not have a Mac. |
|
|
# |
|
|
# |
|
|
# make cover COVERAGEDIR=coverage/${{ matrix.os }} |
|
|
# make cover COVERAGEDIR=coverage/${{ matrix.os }} |
|
|
shell: bash |
|
|
shell: bash |
|
@ -195,7 +200,9 @@ jobs: |
|
|
|
|
|
|
|
|
- name: Run a configure step |
|
|
- name: Run a configure step |
|
|
run: | |
|
|
run: | |
|
|
CFLAGS="-fprofile-arcs -ftest-coverage" LDFLAGS="--coverage" ./scripts/hack_fakeautoconf.sh |
|
|
export CFLAGS="-fprofile-arcs -ftest-coverage" |
|
|
|
|
|
export LDFLAGS="--coverage" |
|
|
|
|
|
./scripts/hack_fakeautoconf.sh |
|
|
shell: bash |
|
|
shell: bash |
|
|
|
|
|
|
|
|
- name: Run embedded tests |
|
|
- name: Run embedded tests |
|
@ -245,7 +252,8 @@ jobs: |
|
|
|
|
|
|
|
|
- name: Install packages needed for build |
|
|
- name: Install packages needed for build |
|
|
run: | |
|
|
run: | |
|
|
sudo apt-get install debhelper build-essential crossbuild-essential-${{ matrix.arch }} |
|
|
sudo apt-get install debhelper build-essential \ |
|
|
|
|
|
crossbuild-essential-${{ matrix.arch }} |
|
|
|
|
|
|
|
|
- name: Configure |
|
|
- name: Configure |
|
|
run: | |
|
|
run: | |
|
@ -387,7 +395,9 @@ jobs: |
|
|
|
|
|
|
|
|
- name: Install cross compiler |
|
|
- name: Install cross compiler |
|
|
run: | |
|
|
run: | |
|
|
sudo apt-get install binutils-${{ matrix.arch }} gcc-${{ matrix.arch }} |
|
|
sudo apt-get install \ |
|
|
|
|
|
binutils-${{ matrix.arch }} \ |
|
|
|
|
|
gcc-${{ matrix.arch }} |
|
|
|
|
|
|
|
|
- name: Configure and Build |
|
|
- name: Configure and Build |
|
|
shell: bash |
|
|
shell: bash |
|
|