Output ELF data file on Linux CI/CD
* Useful for checking moved/new ELF sections Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
parent
771b632092
commit
9fb0825a6b
6
.github/workflows/linux-gcc-musl.yml
vendored
6
.github/workflows/linux-gcc-musl.yml
vendored
@ -33,12 +33,16 @@ jobs:
|
|||||||
ln -s /usr/bin/${i} $HOME/.local/bin/${{ matrix.cross_compile }}${i};
|
ln -s /usr/bin/${i} $HOME/.local/bin/${{ matrix.cross_compile }}${i};
|
||||||
done
|
done
|
||||||
make ARCH=${{ matrix.arch }} CROSS_COMPILE=${{ matrix.cross_compile }}
|
make ARCH=${{ matrix.arch }} CROSS_COMPILE=${{ matrix.cross_compile }}
|
||||||
|
|
||||||
|
- name: Generate binary information
|
||||||
|
run: readelf -a ./${{ matrix.dir }}/apps/ctors_dtors_priority_test.so > ./${{ matrix.dir }}/apps/readelf.txt
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.arch }}
|
name: ${{ matrix.arch }}
|
||||||
path: ./${{ matrix.dir }}/apps/*.efi
|
path: |
|
||||||
|
./${{ matrix.dir }}/apps/*
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
7
.github/workflows/linux-gcc.yml
vendored
7
.github/workflows/linux-gcc.yml
vendored
@ -53,12 +53,15 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: make ARCH=${{ matrix.arch }} CROSS_COMPILE=${{ matrix.cross_compile }}
|
run: make ARCH=${{ matrix.arch }} CROSS_COMPILE=${{ matrix.cross_compile }}
|
||||||
|
|
||||||
|
- name: Generate binary information
|
||||||
|
run: readelf -a ./${{ matrix.dir }}/apps/ctors_dtors_priority_test.so > ./${{ matrix.dir }}/apps/readelf.txt
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.arch }}
|
name: ${{ matrix.arch }}
|
||||||
path: ./${{ matrix.dir }}/apps/*.efi
|
path: |
|
||||||
|
./${{ matrix.dir }}/apps/*
|
||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
needs: build
|
needs: build
|
||||||
|
7
.github/workflows/linux-llvm.yml
vendored
7
.github/workflows/linux-llvm.yml
vendored
@ -29,12 +29,15 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: make ARCH=${{ matrix.arch }} CROSS_COMPILE=${{ matrix.cross_compile }} CC=clang LD=ld.lld
|
run: make ARCH=${{ matrix.arch }} CROSS_COMPILE=${{ matrix.cross_compile }} CC=clang LD=ld.lld
|
||||||
|
|
||||||
|
- name: Generate binary information
|
||||||
|
run: readelf -a ./${{ matrix.dir }}/apps/ctors_dtors_priority_test.so > ./${{ matrix.dir }}/apps/readelf.txt
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.arch }}
|
name: ${{ matrix.arch }}
|
||||||
path: ./${{ matrix.dir }}/apps/*.efi
|
path: |
|
||||||
|
./${{ matrix.dir }}/apps/*
|
||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
needs: build
|
needs: build
|
||||||
|
Loading…
Reference in New Issue
Block a user