test-packaging.yaml: Split up build step into deps, static pre-check and actual buil
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
8bb87b7728
commit
46b0537e2c
1 changed files with 8 additions and 3 deletions
11
.github/workflows/test-packaging.yaml
vendored
11
.github/workflows/test-packaging.yaml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
working-directory: ${{ github.event.repository.name }}
|
||||
persist-credentials: false
|
||||
|
||||
- name: Install build prerequisites
|
||||
- name: Install jw-pkg from source
|
||||
shell: bash
|
||||
if: ${{ github.event.repository.name != 'jw-pkg' }}
|
||||
run: |
|
||||
|
|
@ -41,6 +41,13 @@ jobs:
|
|||
make -C build-jw-foss pkg-install-release-deps
|
||||
OFFLINE=true make -C build-jw-foss pkg-rebuild-reinstall
|
||||
|
||||
- name: Install test dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
set -euxo pipefail
|
||||
make -C "${{ github.event.repository.name }}" pkg-manager-refresh
|
||||
make -C "${{ github.event.repository.name }}" pkg-install-testbuild-deps
|
||||
|
||||
- name: Run pre-build static code checks
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
@ -51,8 +58,6 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
set -euxo pipefail
|
||||
make -C "${{ github.event.repository.name }}" pkg-manager-refresh
|
||||
make -C "${{ github.event.repository.name }}" pkg-install-testbuild-deps
|
||||
make -C "${{ github.event.repository.name }}" pkg-rebuild
|
||||
|
||||
- name: Run post-build static code checks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue