Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arc migration #4

Merged
merged 2 commits into from
Nov 27, 2023
Merged
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
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ on:
push:
branches:
- fd4.10
- 4.10_hc

jobs:
build:
runs-on: ubuntu-latest
runs-on: panda-arc

steps:
- name: Checkout code
Expand All @@ -16,7 +17,7 @@ jobs:
- name: Build
run: |
bash docker_build.sh
tar -czvf kernels-latest.tar.gz binaries
time tar -czvf kernels-latest.tar.gz binaries

- name: Save package
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -50,4 +51,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
id: ${{ steps.create_release.outputs.id }}
id: ${{ steps.create_release.outputs.id }}
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: panda-arc

steps:
- name: Checkout code
Expand Down
4 changes: 2 additions & 2 deletions docker_inner_build_targets.xsh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $NPROC=$(nproc).strip()
cd $BUILD_ROOT

for arch in TARGETLIST:
make mrproper
make mrproper -j$NPROC
TARGETS=["vmlinux"]
if "arm" in arch:
TARGETS.append("zImage")
Expand All @@ -59,7 +59,7 @@ for arch in TARGETLIST:
$CROSS_CC=get_cc(arch)
mkdir -p f"build/{arch}"
cp f"config.{arch}" f"build/{arch}/.config"
make ARCH=@(short_arch) CROSS_COMPILE=$CROSS_CC O=build/@(arch) olddefconfig
make ARCH=@(short_arch) CROSS_COMPILE=$CROSS_CC O=build/@(arch) olddefconfig -j$NPROC

echo "Building kernel"
make ARCH=@(short_arch) CROSS_COMPILE=$CROSS_CC O=build/@(arch) @(TARGETS) -j$NPROC
Expand Down