update(deps): bump libs to 0.19.0 #857
Workflow file for this run
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
name: CI Build | |
on: | |
pull_request: | |
branches: [dev] | |
push: | |
branches: [dev] | |
workflow_dispatch: | |
jobs: | |
build-libs-linux: | |
name: build-libs-linux-${{ matrix.arch }} | |
runs-on: 'ubuntu-22.04' | |
strategy: | |
fail-fast: false | |
matrix: | |
arch: [x86_64, aarch64] | |
container: | |
image: debian:buster | |
steps: | |
- name: Install deps ⛓️ | |
run: | | |
apt update && apt install -y --no-install-recommends curl ca-certificates build-essential git clang llvm pkg-config autoconf automake libtool libelf-dev wget rpm linux-tools-`uname -r` | |
- name: Install a recent version of CMake ⛓️ | |
run: | | |
curl -L -o /tmp/cmake.tar.gz https://github.com/Kitware/CMake/releases/download/v3.22.5/cmake-3.22.5-linux-$(uname -m).tar.gz | |
gzip -d /tmp/cmake.tar.gz | |
tar -xpf /tmp/cmake.tar --directory=/tmp | |
cp -R /tmp/cmake-3.22.5-linux-$(uname -m)/* /usr | |
rm -rf /tmp/cmake-3.22.5-linux-$(uname -m)/ | |
- name: Checkout Libs ⤵️ | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Git safe directory | |
run: | | |
git config --global --add safe.directory $GITHUB_WORKSPACE | |
- name: Install zig | |
if: matrix.name == 'zig' | |
uses: ./.github/actions/install-zig | |
with: | |
arch: ${{ matrix.arch }} | |
- name: Build | |
env: | |
UBSAN_OPTIONS: print_stacktrace=1 | |
run: | | |
mkdir -p build | |
cd build && cmake -DUSE_BUNDLED_DEPS=ON .. | |
KERNELDIR=/lib/modules/$(ls /lib/modules)/build make -j4 package | |
- name: Upload rpm package | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sysdig-dev-linux-${{ matrix.arch }}.rpm | |
path: | | |
${{ github.workspace }}/build/release/sysdig-*.rpm | |
- name: Upload deb package | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sysdig-dev-linux-${{ matrix.arch }}.deb | |
path: | | |
${{ github.workspace }}/build/release/sysdig-*.deb | |
- name: Upload tar.gz package | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sysdig-dev-linux-${{ matrix.arch }}.tar.gz | |
path: | | |
${{ github.workspace }}/build/release/sysdig-*.tar.gz | |
build-sysdig-others-amd64: | |
name: build-sysdig-other-amd64 | |
strategy: | |
matrix: | |
os: [windows-latest, macos-13] | |
include: | |
- os: windows-latest | |
artifact_name: win | |
artifact_ext: exe | |
- os: macos-13 | |
artifact_name: osx | |
artifact_ext: dmg | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Sysdig | |
uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
mkdir -p build | |
cd build && cmake -Wno-dev .. | |
cmake --build . --target package --config Release | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sysdig-dev-${{ matrix.artifact_name }}-x86_64.${{ matrix.artifact_ext }} | |
path: | | |
build/sysdig-*.${{ matrix.artifact_ext }} | |
build-sysdig-others-arm64: | |
name: build-sysdig-other-arm64 | |
strategy: | |
matrix: | |
os: [macos-14] | |
include: | |
- os: macos-14 | |
artifact_name: osx | |
artifact_ext: dmg | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Sysdig | |
uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
mkdir -p build | |
cd build && cmake -Wno-dev .. | |
cmake --build . --target package --config Release | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sysdig-dev-${{ matrix.artifact_name }}-arm64.${{ matrix.artifact_ext }} | |
path: | | |
build/sysdig-*.${{ matrix.artifact_ext }} |