diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml index ffd85b80..834c8bba 100644 --- a/.github/workflows/freebsd.yml +++ b/.github/workflows/freebsd.yml @@ -17,8 +17,6 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - repository: 'intel/intel-ipsec-mb' - name: Build uses: vmactions/freebsd-vm@35a5b20a98476a681c7576a344775be7e7f77f06 # v1.0.6 @@ -37,8 +35,6 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - repository: 'intel/intel-ipsec-mb' - name: Build uses: vmactions/freebsd-vm@35a5b20a98476a681c7576a344775be7e7f77f06 # v1.0.6 @@ -57,8 +53,6 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - repository: 'intel/intel-ipsec-mb' - name: Clang Release Build uses: vmactions/freebsd-vm@35a5b20a98476a681c7576a344775be7e7f77f06 # v1.0.6 @@ -83,8 +77,6 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - repository: 'intel/intel-ipsec-mb' - name: Release build with GCC uses: vmactions/freebsd-vm@35a5b20a98476a681c7576a344775be7e7f77f06 # v1.0.6 diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 649998c4..b41e4c6f 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -16,12 +16,12 @@ jobs: steps: - name: Install packages - run: sudo apt-get install -y nasm + run: | + sudo apt-get update + sudo apt-get install -y nasm - name: Checkout repo uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - repository: intel/intel-ipsec-mb - name: Build run: make -j @@ -39,12 +39,12 @@ jobs: steps: - name: Install packages - run: sudo apt-get install -y nasm + run: | + sudo apt-get update + sudo apt-get install -y nasm - name: Checkout repo uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - repository: intel/intel-ipsec-mb - name: Build run: make SHARED=n -j @@ -55,12 +55,12 @@ jobs: steps: - name: Install packages - run: sudo apt-get install -y nasm clang + run: | + sudo apt-get update + sudo apt-get install -y nasm clang - name: Checkout repo uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - repository: intel/intel-ipsec-mb - name: Build run: make CC=clang -j @@ -71,12 +71,12 @@ jobs: steps: - name: Install packages - run: sudo apt-get install -y nasm clang + run: | + sudo apt-get update + sudo apt-get install -y nasm clang - name: Checkout repo uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - repository: intel/intel-ipsec-mb - name: Build run: make CC=clang SHARED=n -j @@ -87,12 +87,12 @@ jobs: steps: - name: Install packages - run: sudo apt-get install -y nasm clang + run: | + sudo apt-get update + sudo apt-get install -y nasm clang - name: Checkout repo uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - repository: intel/intel-ipsec-mb - name: Build run: make CC=clang AESNI_EMU=y -j @@ -105,12 +105,12 @@ jobs: steps: - name: Install packages - run: sudo apt-get install -y nasm + run: | + sudo apt-get update + sudo apt-get install -y nasm cmake - name: Checkout repo uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - repository: 'intel/intel-ipsec-mb' - name: Configure CMake run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} @@ -138,12 +138,12 @@ jobs: steps: - name: Install packages - run: sudo apt-get install -y nasm + run: | + sudo apt-get update + sudo apt-get install -y nasm cmake - name: Checkout repo uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - repository: 'intel/intel-ipsec-mb' - name: Configure CMake run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index af7be0e7..f48a3eda 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -19,16 +19,17 @@ jobs: run: | wget https://apt.llvm.org/llvm.sh chmod +x llvm.sh - sudo ./llvm.sh 18 - sudo apt install -y nasm clang-format-18 + sudo -E ./llvm.sh 18 + sudo -E apt-get install -y nasm cmake clang-format-18 - name: Checkout repo uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - repository: 'intel/intel-ipsec-mb' - name: Configure CMake run: cmake -B ${{github.workspace}}/build -DCLANG_FORMAT_BIN=clang-format-18 - - name: Run style check + - name: Run C style check run: cmake --build ${{github.workspace}}/build --target style + + - name: Run ASM style check + run: cmake --build ${{github.workspace}}/build --target asm-style diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 727009d6..2cd1ee1d 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -22,8 +22,6 @@ jobs: - name: Checkout repo uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - repository: 'intel/intel-ipsec-mb' - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@c26a08ba26249b81327e26f6ef381897b6a8754d # v1.0.2 @@ -57,8 +55,6 @@ jobs: - name: Checkout repo uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - repository: 'intel/intel-ipsec-mb' - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@c26a08ba26249b81327e26f6ef381897b6a8754d # v1.0.2