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
@ -34,11 +34,15 @@ jobs:
|
||||
done
|
||||
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
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.arch }}
|
||||
path: ./${{ matrix.dir }}/apps/*.efi
|
||||
path: |
|
||||
./${{ matrix.dir }}/apps/*
|
||||
|
||||
tests:
|
||||
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
|
||||
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
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.arch }}
|
||||
path: ./${{ matrix.dir }}/apps/*.efi
|
||||
|
||||
path: |
|
||||
./${{ matrix.dir }}/apps/*
|
||||
tests:
|
||||
runs-on: ubuntu-24.04
|
||||
needs: build
|
||||
|
7
.github/workflows/linux-llvm.yml
vendored
7
.github/workflows/linux-llvm.yml
vendored
@ -29,12 +29,15 @@ jobs:
|
||||
- name: Build
|
||||
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
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.arch }}
|
||||
path: ./${{ matrix.dir }}/apps/*.efi
|
||||
|
||||
path: |
|
||||
./${{ matrix.dir }}/apps/*
|
||||
tests:
|
||||
runs-on: ubuntu-24.04
|
||||
needs: build
|
||||
|
Loading…
Reference in New Issue
Block a user