Skip to content

AVX2: poly_compress_avx only works with GCC 13 in kernel space #140

AVX2: poly_compress_avx only works with GCC 13 in kernel space

AVX2: poly_compress_avx only works with GCC 13 in kernel space #140

name: Linux kernel CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install GCC
run: |
sudo apt-get update
sudo apt-get install -y gcc-13
- name: Linux kernel build
run: make -C linux_kernel CC=gcc-13
- name: Load leancrypto kernel module
run: sudo insmod linux_kernel/leancrypto.ko
- name: Linux kernel test
run: for i in linux_kernel/*.ko; do if [ "$i" != "linux_kernel/leancrypto.ko" ]; then sudo insmod $i; fi; done