Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>
  • Loading branch information
therealbobo committed Jun 7, 2024
1 parent 3418d72 commit bdab692
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ jobs:
path: /build-skeleton
key: build-skeleton-${{ github.run_id }}
restore-keys: build-skeleton-
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.4
- name: Build
run: build cmake
- name: Build packages
Expand All @@ -142,6 +144,9 @@ jobs:
name: sysdig-dev-linux-x86_64.rpm
path: |
/build/release/sysdig-*.rpm
- name: Run sccache stat for check
shell: bash
run: ${SCCACHE_PATH} --show-stats
- name: Upload deb package
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -184,6 +189,8 @@ jobs:
uses: docker/setup-qemu-action@v2
with:
platforms: 'amd64,arm64'
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.4

Check failure on line 193 in .github/workflows/ci.yaml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 could not parse as YAML: yaml: line 193: mapping values are not allowed in this context [syntax-check] Raw Output: .github/workflows/ci.yaml:193:0: could not parse as YAML: yaml: line 193: mapping values are not allowed in this context [syntax-check]
- name: Run the build skeleton process with Docker
uses: addnab/docker-run-action@v3
with:
Expand All @@ -209,6 +216,9 @@ jobs:
build cmake && \
build package && \
cp /build/release/sysdig-* /build/dev-packages
- name: Run sccache stat for check
shell: bash
run: ${SCCACHE_PATH} --show-stats
- name: Upload deb package
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 2 additions & 0 deletions docker/builder/root/usr/bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ case "$CMD" in
-DBUILD_WARNINGS_AS_ERRORS="$BUILD_WARNINGS_AS_ERRORS"
-DSYSDIG_VERSION="$BUILD_VERSION"
-DUSE_BUNDLED_DEPS=ON
-DCMAKE_C_COMPILER_LAUNCHER=sccache
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
)

if [ ! -z "${FALCOSECURITY_LIBS_SOURCE_DIR:=}" ]; then
Expand Down

0 comments on commit bdab692

Please sign in to comment.