CI: fix compilation of all packages
By using `feeds install -d y` the CI tries to install e.g. `libcxx` which fails, unrelated to the tested packages. Now follow the approach of the current CircleCI implementation. Signed-off-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
parent
d77daaa464
commit
69c91a23a5
1 changed files with 5 additions and 4 deletions
9
.github/workflows/multi-arch-test-build.yml
vendored
9
.github/workflows/multi-arch-test-build.yml
vendored
|
@ -31,22 +31,23 @@ jobs:
|
||||||
|
|
||||||
- name: Determine changed packages
|
- name: Determine changed packages
|
||||||
run: |
|
run: |
|
||||||
|
# only detect packages with changed Makefiles
|
||||||
PACKAGES="$(git diff --diff-filter=d --name-only origin/master \
|
PACKAGES="$(git diff --diff-filter=d --name-only origin/master \
|
||||||
| grep 'Makefile$' | grep -Ev '/files/|/src/' \
|
| grep 'Makefile$' | grep -Ev '/files/|/src/' \
|
||||||
| awk -F/ '{ print $(NF-1) }' | tr '\n' ' ')"
|
| awk -F/ '{ print $(NF-1) }' | tr '\n' ' ')"
|
||||||
|
|
||||||
echo "Building $PACKAGES"
|
# fallback to test packages if nothing explicitly changes this is
|
||||||
|
# should run if other mechanics in packages.git changed
|
||||||
|
PACKAGES="${PACKAGES:-vim tmux bmon}"
|
||||||
|
|
||||||
|
echo "Building $PACKAGES"
|
||||||
echo "::set-env name=PACKAGES::$PACKAGES"
|
echo "::set-env name=PACKAGES::$PACKAGES"
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: openwrt/gh-action-sdk@v1
|
uses: openwrt/gh-action-sdk@v1
|
||||||
env:
|
env:
|
||||||
ARCH: ${{ matrix.arch }}
|
ARCH: ${{ matrix.arch }}
|
||||||
BUILD_LOG: 1
|
|
||||||
FEEDNAME: packages_ci
|
FEEDNAME: packages_ci
|
||||||
IGNORE_ERRORS: ""
|
|
||||||
V: s
|
|
||||||
|
|
||||||
- name: Store packages
|
- name: Store packages
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|
Loading…
Reference in a new issue