mirror of https://github.com/ncroxon/gnu-efi
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
|
@ -33,12 +33,16 @@ jobs:
|
|||
ln -s /usr/bin/${i} $HOME/.local/bin/${{ matrix.cross_compile }}${i};
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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