Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/build-all-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ jobs:

build-linuxkit-containers:
needs: [ matrix_prep ]
runs-on: "${{ matrix.runner }}" # the runner to use is determined by the 'gha-matrix' code
runs-on:
group: Default
labels: "${{ matrix.runner }}" # the runner to use is determined by the 'gha-matrix' code
strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -94,7 +96,9 @@ jobs:

build-kernels:
needs: [ matrix_prep ] # depend on the previous job...
runs-on: "${{ matrix.runner }}" # the runner to use is determined by the 'gha-matrix' code
runs-on:
group: Default
labels: "${{ matrix.runner }}" # the runner to use is determined by the 'gha-matrix' code
strategy:
fail-fast: false # let other jobs try to complete if one fails, kernels might take long, and they'd be skipped on the next run
matrix:
Expand Down Expand Up @@ -124,7 +128,9 @@ jobs:

build-hook-ensemble:
needs: [ matrix_prep, build-linuxkit-containers, build-kernels ] # depend on the previous job...
runs-on: "${{ matrix.runner }}" # the runner to use is determined by the 'gha-matrix' code
runs-on:
group: Default
labels: "${{ matrix.runner }}" # the runner to use is determined by the 'gha-matrix' code
strategy:
fail-fast: false # let other jobs try to complete if one fails
matrix:
Expand Down
3 changes: 0 additions & 3 deletions bash/json-matrix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,6 @@ function json_matrix_find_runner() {
declare -a json_items_bare=(${runner})
# wrap each json_items array item in double quotes
declare -a json_items=()
if [[ "${runner}" != "ubuntu-latest" ]]; then # if not using a GH-hosted runner, auto-add the "self-hosted" member
json_items+=("\"self-hosted\"")
fi
for item in "${json_items_bare[@]}"; do
json_items+=("\"${item}\"")
done
Expand Down
2 changes: 1 addition & 1 deletion kernel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ENV DEBIAN_FRONTEND=noninteractive

# crossbuild-essentials are pretty heavy; here we install for both architecures to maximize Docker layer hit cache rate during development, but only one will be used
RUN set -x && apt -o "Dpkg::Use-Pty=0" -y update && \
apt -o "Dpkg::Use-Pty=0" -y install curl xz-utils gnupg2 flex bison libssl-dev libelf-dev bc libncurses-dev kmod \
apt -o "Dpkg::Use-Pty=0" -y install curl xz-utils gnupg2 flex bison libssl-dev libelf-dev bc libncurses-dev kmod make \
crossbuild-essential-amd64 crossbuild-essential-arm64 && \
apt -o "Dpkg::Use-Pty=0" -y clean

Expand Down
Loading