Skip to content

test workflow update with new version of checkout action #54

test workflow update with new version of checkout action

test workflow update with new version of checkout action #54

Workflow file for this run

name: FreeBSD
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
# Build shared library with GMake (Clang)
release-gmake-clang-shared:
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v4.2.0
with:
repository: 'intel/intel-ipsec-mb'
- name: Build
uses: vmactions/freebsd-vm@35a5b20a98476a681c7576a344775be7e7f77f06 # v1.0.6
with:
usesh: true
mem: 8192
prepare: pkg install -y curl nasm llvm gmake
run: |
freebsd-version
gmake CC=clang -j 4
# Build shared library with GMake (GCC)
release-gmake-gcc-shared:
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v4.2.0
with:
repository: 'intel/intel-ipsec-mb'
- name: Build
uses: vmactions/freebsd-vm@35a5b20a98476a681c7576a344775be7e7f77f06 # v1.0.6
with:
usesh: true
mem: 8192
prepare: pkg install -y curl nasm gmake gcc
run: |
freebsd-version
gmake CC=gcc -j 4
# CMake release build with Clang
release-cmake-clang:
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v4.2.0
with:
repository: 'intel/intel-ipsec-mb'
- name: Clang Release Build
uses: vmactions/freebsd-vm@35a5b20a98476a681c7576a344775be7e7f77f06 # v1.0.6
with:
usesh: true
mem: 8192
prepare: pkg install -y curl nasm gmake cmake
run: |
echo ">>> CMAKE CONFIGURE"
cmake -B ./build -DCMAKE_BUILD_TYPE=Release
echo ">>> CMAKE BUILD"
cd ./build
cmake --build . --config Release -j4 -v
ctest -j 5 -C Release
echo ">>> CMAKE INSTALL"
cmake --install .
# CMake release build with GCC
release-cmake-gcc:
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v4.2.0
with:
repository: 'intel/intel-ipsec-mb'
- name: Release build with GCC
uses: vmactions/freebsd-vm@35a5b20a98476a681c7576a344775be7e7f77f06 # v1.0.6
with:
usesh: true
mem: 8192
prepare: pkg install -y curl nasm gmake cmake gcc
run: |
echo ">>> CMAKE CONFIGURE"
cmake -B ./build -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc
echo ">>> CMAKE BUILD"
cd ./build
cmake --build . --config Release -j4 -v
ctest -j 5 -C Release