Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
16 changes: 11 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
fetch-depth: 0

- name: Install deps
run: |

Check warning on line 30 in .github/workflows/ci.yaml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2046:warning:13:15: Quote this to prevent word splitting [shellcheck] Raw Output: w:.github/workflows/ci.yaml:30:9: shellcheck reported issue in this script: SC2046:warning:13:15: Quote this to prevent word splitting [shellcheck]
cp -v scripts/zig-cc /usr/bin/
cp -v scripts/zig-c++ /usr/bin/
apt update && \
Expand Down Expand Up @@ -78,7 +78,7 @@
-S . \
-B build \
-G Ninja
cmake --build build --target package --config Release
cmake --build build --target package --config Release --parallel

- name: Set artifact name
id: artifact_name
Expand Down Expand Up @@ -108,14 +108,20 @@

build-sysdig-others:
name: build-sysdig-${{ matrix.os }}-${{ matrix.arch }}
timeout-minutes: 45
strategy:
matrix:
os: [windows-latest, macos-15-intel, macos-14]
os: [windows-latest, windows-11-arm, macos-15-intel, macos-14]
include:
- os: windows-latest
artifact_name: win
artifact_ext: exe
arch: x86_64
- os: windows-11-arm
artifact_name: win
artifact_ext: exe
arch: arm64
cmake_extra_args: -A x64
- os: macos-15-intel
artifact_name: osx
artifact_ext: dmg
Expand All @@ -129,13 +135,13 @@
- name: Checkout Sysdig
uses: actions/checkout@v4
- name: Install NSIS
if: matrix.os == 'windows-latest'
if: startsWith(matrix.os, 'windows')
run: |
choco install nsis -y
- name: Build
run: |
cmake -Wno-dev -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -S . -B build
cmake --build build --target package --config Release
cmake -Wno-dev "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" ${{ matrix.cmake_extra_args }} -S . -B build
cmake --build build --target package --config Release --parallel
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/release-draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
fetch-depth: 0

- name: Install deps
run: |

Check warning on line 40 in .github/workflows/release-draft.yaml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2046:warning:13:15: Quote this to prevent word splitting [shellcheck] Raw Output: w:.github/workflows/release-draft.yaml:40:9: shellcheck reported issue in this script: SC2046:warning:13:15: Quote this to prevent word splitting [shellcheck]
cp -v scripts/zig-cc /usr/bin/
cp -v scripts/zig-c++ /usr/bin/
apt update && \
Expand Down Expand Up @@ -92,7 +92,7 @@
-S . \
-B build \
-G Ninja
cmake --build build --target package --config Release
cmake --build build --target package --config Release --parallel

- name: Upload Artifacts
uses: actions/upload-artifact@v4
Expand All @@ -103,14 +103,20 @@

build-release-others:
name: build-release-others
timeout-minutes: 45
strategy:
matrix:
os: [windows-latest, macos-15-intel, macos-14]
os: [windows-latest, windows-11-arm, macos-15-intel, macos-14]
include:
- os: windows-latest
artifact_name: win
artifact_ext: exe
arch: x86_64
- os: windows-11-arm
artifact_name: win
artifact_ext: exe
arch: arm64
cmake_extra_args: -A x64
- os: macos-15-intel
artifact_name: osx
artifact_ext: dmg
Expand All @@ -124,13 +130,13 @@
- name: Checkout Sysdig
uses: actions/checkout@v4
- name: Install NSIS
if: matrix.os == 'windows-latest'
if: startsWith(matrix.os, 'windows')
run: |
choco install nsis -y
- name: Build
run: |
cmake -Wno-dev -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DBUILD_DRIVER=OFF -DSYSDIG_VERSION="${{ env.BUILD_VERSION }}" -S . -B build
cmake --build build --target package --config Release
cmake -Wno-dev "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" ${{ matrix.cmake_extra_args }} -DBUILD_DRIVER=OFF -DSYSDIG_VERSION="${{ env.BUILD_VERSION }}" -S . -B build
cmake --build build --target package --config Release --parallel
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -220,10 +226,10 @@
run: printenv PRIVATE_KEY | gpg --import -

- name: Sign DEBs
run: debsigs --sign=origin --default-key="${{ env.KEY_ID }}" *.deb

Check warning on line 229 in .github/workflows/release-draft.yaml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2035:info:1:57: Use ./*glob* or -- *glob* so names with dashes won't become options [shellcheck] Raw Output: i:.github/workflows/release-draft.yaml:229:9: shellcheck reported issue in this script: SC2035:info:1:57: Use ./*glob* or -- *glob* so names with dashes won't become options [shellcheck]

- name: Sign RPMs
run: rpm --define "_gpg_name ${{ env.KEY_ID }}" --define "_binary_filedigest_algorithm 8" --addsign *.rpm

Check warning on line 232 in .github/workflows/release-draft.yaml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2035:info:1:96: Use ./*glob* or -- *glob* so names with dashes won't become options [shellcheck] Raw Output: i:.github/workflows/release-draft.yaml:232:9: shellcheck reported issue in this script: SC2035:info:1:96: Use ./*glob* or -- *glob* so names with dashes won't become options [shellcheck]

- name: Upload Signed Packages
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if(EXISTS ${CMAKE_CURRENT_BINARY_DIR}/CMakeLists.txt)
"The following wiki page has more information on manually building sysdig: http://bit.ly/1oJ84UI")
endif()

cmake_minimum_required(VERSION 3.12)
cmake_minimum_required(VERSION 3.12...4.0)

project(sysdig)

Expand Down
4 changes: 2 additions & 2 deletions cmake/modules/luajit.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ else()
ExternalProject_Add(luajit
PREFIX "${PROJECT_BINARY_DIR}/luajit-prefix"
GIT_REPOSITORY "https://github.com/LuaJIT/LuaJIT"
GIT_TAG "f3c856915b4ce7ccd24341e8ac73e8a9fd934171"
GIT_TAG "8e6520a7aecd0517e792b359afbbfd7274791f5f"
CONFIGURE_COMMAND ""
BUILD_COMMAND make
BUILD_IN_SOURCE 1
Expand All @@ -100,7 +100,7 @@ else()
ExternalProject_Add(luajit
PREFIX "${PROJECT_BINARY_DIR}/luajit-prefix"
GIT_REPOSITORY "https://github.com/LuaJIT/LuaJIT"
GIT_TAG "f3c856915b4ce7ccd24341e8ac73e8a9fd934171"
GIT_TAG "8e6520a7aecd0517e792b359afbbfd7274791f5f"
CONFIGURE_COMMAND ""
BUILD_COMMAND msvcbuild.bat static
BUILD_BYPRODUCTS ${LUAJIT_LIB}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading