diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2022-11-10 19:53:15 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-01-23 19:18:06 +0100 |
commit | d40f59825a7abc0fe6f1116d599db39fcfc0f489 (patch) | |
tree | 7cb0bae5b35e35514836195f2192b2263ea54725 /.github/workflows/check-kernel-patches.yml | |
parent | 7fe3d3670b7057ba793b606cfe85c53930b49057 (diff) | |
download | upstream-d40f59825a7abc0fe6f1116d599db39fcfc0f489.tar.gz upstream-d40f59825a7abc0fe6f1116d599db39fcfc0f489.tar.bz2 upstream-d40f59825a7abc0fe6f1116d599db39fcfc0f489.zip |
CI: tools: directly copy prebuilt tools in container
Directly copy prebuilt tools in container instead of creating an
archieve and extracting it later in other workflows.
Update build workflow to support this new implementation.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to '.github/workflows/check-kernel-patches.yml')
-rw-r--r-- | .github/workflows/check-kernel-patches.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/check-kernel-patches.yml b/.github/workflows/check-kernel-patches.yml index e5b619064f..7e0fe5071a 100644 --- a/.github/workflows/check-kernel-patches.yml +++ b/.github/workflows/check-kernel-patches.yml @@ -84,10 +84,15 @@ jobs: echo "TARGET=$TARGET" >> "$GITHUB_ENV" echo "SUBTARGET=$SUBTARGET" >> "$GITHUB_ENV" - - name: Extract prebuilt tools + - name: Prepare prebuilt tools shell: su buildbot -c "sh -e {0}" working-directory: openwrt - run: ./scripts/ext-tools.sh --tools /tools.tar + run: | + mkdir -p staging_dir build_dir + ln -sf /prebuilt_tools/staging_dir/host staging_dir/host + ln -sf /prebuilt_tools/build_dir/host build_dir/host + + ./scripts/ext-tools.sh --refresh - name: Configure testing kernel if: inputs.testing == true |