forked from gregkh/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Crypto algorithm testing pipeline | ||
|
||
on: | ||
push: | ||
branches: [ "crypto-test" ] | ||
pull_request: | ||
branches: [ "crypto-test" ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
crypto_testing_job: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: build kernel & modules | ||
run: | | ||
cp config-um .config | ||
make olddefconfig ARCH=um | ||
# make ARCH=um all | ||
mkdir initramfs | ||
# make modules_install INSTALL_MOD_PATH=./initramfs ARCH=um | ||
- name: prepare initramfs | ||
run: | | ||
apt-get install busybox-static | ||
cp /bin/busybox initramfs/bin/busybox | ||
cp zeta/init initramfs/init | ||
cp zeta/test-script.sh initramfs/test-script.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
#!/bin/bash | ||
#!/bin/busybox sh | ||
|
||
echo "tcrypt: starting tcrypt test execution" | ||
|
||
sh /test-script.sh | ||
./test-script.sh | ||
|
||
mount proc /proc -t proc | ||
|
||
echo o > /proc/sysrq-trigger | ||
busybox mount proc /proc -t proc | ||
|
||
busybox poweroff -f |
Empty file.