12 cross-build-pull-request:
14 container: vathpela/efi-ci:${{ matrix.distro }}-x64
15 name: ${{ matrix.distro }} ${{ matrix.efiarch }} cross-build
103 uses: actions/checkout@v2
105 # otherwise we are testing target branch instead of the PR branch (see pull_request_target trigger)
106 ref: ${{ github.event.pull_request.head.sha }}
108 submodules: recursive
109 - name: Update submodules on ${{ matrix.distro }} for ${{ matrix.efiarch }}
110 id: update-submodules
113 - name: Do the build on ${{ matrix.distro }} for ${{ matrix.efiarch }}
116 make -s CROSS_COMPILE=${{ matrix.gccarch }}-linux-gnu- ARCH=${{ matrix.makearch }} PREFIX=/usr DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true clean all || make CROSS_COMPILE=${{ matrix.gccarch }}-linux-gnu- ARCH=${{ matrix.makearch }} PREFIX=/usr DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true clean all
117 - name: Install on ${{ matrix.distro }} for ${{ matrix.efiarch }}
120 make -s CROSS_COMPILE=${{ matrix.gccarch }}-linux-gnu- ARCH=${{ matrix.makearch }} PREFIX=/usr DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true install || make CROSS_COMPILE=${{ matrix.gccarch }}-linux-gnu- ARCH=${{ matrix.makearch }} PREFIX=/usr DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true install
122 find /destdir -type f
124 build-pull-request-intel:
125 runs-on: ubuntu-20.04
126 container: vathpela/efi-ci:${{ matrix.distro }}-x64
127 name: ${{ matrix.distro }} ${{ matrix.efiarch }} build
183 uses: actions/checkout@v2
185 # otherwise we are testing target branch instead of the PR branch (see pull_request_target trigger)
186 ref: ${{ github.event.pull_request.head.sha }}
188 submodules: recursive
189 - name: Update submodules on ${{ matrix.distro }} for ${{ matrix.efiarch }}
190 id: update-submodules
193 - name: Run tests on ${{ matrix.distro }} for ${{ matrix.efiarch }}
196 make -s ARCH=${{ matrix.makearch }} PREFIX=/usr DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true test || make ARCH=${{ matrix.makearch }} PREFIX=/usr DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true test
197 - name: Do the build on ${{ matrix.distro }} for ${{ matrix.efiarch }}
200 make -s ARCH=${{ matrix.makearch }} PREFIX=/usr DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true clean all || make ARCH=${{ matrix.makearch }} PREFIX=/usr DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true clean all
201 - name: Install on ${{ matrix.distro }} for ${{ matrix.efiarch }}
204 make -s ARCH=${{ matrix.makearch }} PREFIX=/usr DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true install || make ARCH=${{ matrix.makearch }} PREFIX=/usr DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true install
206 find /destdir -type f