Skip to content

Remove printf that causes linker issue in environments like SGX #38

Remove printf that causes linker issue in environments like SGX

Remove printf that causes linker issue in environments like SGX #38

Workflow file for this run

name: FreeBSD
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
# Build shared library with GMake (Clang)
release-gmake-clang-shared:
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
repository: 'intel/intel-ipsec-mb'
- name: Build
uses: vmactions/freebsd-vm@v1
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@v3
with:
repository: 'intel/intel-ipsec-mb'
- name: Build
uses: vmactions/freebsd-vm@v1
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@v3
with:
repository: 'intel/intel-ipsec-mb'
- name: Clang Release Build
uses: vmactions/freebsd-vm@v1
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@v3
with:
repository: 'intel/intel-ipsec-mb'
- name: Release build with GCC
uses: vmactions/freebsd-vm@v1
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