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

Verify modules will compile for amd64 #9

Merged
merged 2 commits into from
Mar 18, 2024
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
41 changes: 39 additions & 2 deletions .github/workflows/crypto-test-harness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y flex bison bc cpio busybox-static kmod
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build kernel & Modules
run: |
cp zeta/test-artifacts/config-um .config
Expand All @@ -38,8 +38,45 @@ jobs:
sudo ./linux initrd=uml-initramfs.cpio.gz > tcrypt.out 2>&1
cat tcrypt.out
- name: Collect artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: tcrypt_job
path: ./tcrypt.out
cfgcheck:
runs-on: ubuntu-22.04
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y bc libelf-dev pahole
- name: Checkout
uses: actions/checkout@v4
- name: allnoconfig
continue-on-error: true
run: |
mkdir -p results
make mrproper
make allnoconfig
make -j$(nproc) > results/config-allnoconfig.out 2>&1
- name: defconfig
continue-on-error: true
run: |
make mrproper
make defconfig
make -j$(nproc) > results/config-defconfig.out 2>&1
- name: defconfig + config-integration
continue-on-error: true
run: |
cp zeta/test-artifacts/config-integration .
make mrproper
make defconfig
./scripts/kconfig/merge_config.sh -m .config config-integration
make olddefconfig
make -j$(nproc) > results/config-integration.out 2>&1
Copy link
Collaborator Author

@fredlawl fredlawl Mar 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my testing container, I couldn't quite get the make -j$(nproc) > file 2>&1 to work as I wanted it to. I think for now we assume that it is working, because there's no build errors to report anyway for this PR. The artifacts also contain the full build output anyway.

- name: Collect artifacts
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: cfgcheck_job
path: results
1 change: 1 addition & 0 deletions zeta/test-artifacts/config-integration
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_CRYPTO_SHA2_HACL=m