Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] Windows build tests #2100

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@
- name: Get new skeleton builder image tag
id: get-new-skeleton-builder
if: steps.builder-files.outputs.any_changed == 'true'
run: |

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

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2086:info:1:197: Double quote to prevent globbing and word splitting [shellcheck] Raw Output: .github/workflows/ci.yaml:54:9: shellcheck reported issue in this script: SC2086:info:1:197: Double quote to prevent globbing and word splitting [shellcheck]
echo "name=skeleton_builder_image::${{ (github.event.pull_request.number != '') && format('{0}:{1}', env.SKEL_BUILDER_IMAGE_BASE, github.event.pull_request.number) || env.SKEL_BUILDER_DEV }}" >> $GITHUB_OUTPUT

- name: Get new builder image tag
id: get-new-builder
if: steps.builder-files.outputs.any_changed == 'true'
run: |

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

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2086:info:1:178: Double quote to prevent globbing and word splitting [shellcheck] Raw Output: .github/workflows/ci.yaml:60:9: shellcheck reported issue in this script: SC2086:info:1:178: Double quote to prevent globbing and word splitting [shellcheck]
echo "name=builder_image::${{ (github.event.pull_request.number != '') && format('{0}:{1}', env.BUILDER_IMAGE_BASE, github.event.pull_request.number) || env.BUILDER_DEV }}" >> $GITHUB_OUTPUT

- name: Build new skeleton builder
Expand Down Expand Up @@ -86,6 +86,7 @@
skeleton_builder_image: ${{ (steps.builder-files.outputs.any_changed == 'true') && steps.get-new-skeleton-builder.outputs.skeleton_builder_image || env.SKEL_BUILDER_DEV }}

build-skeleton-sysdig-linux-amd64:
if: false
needs: builder
runs-on: ubuntu-latest
container:
Expand All @@ -112,6 +113,7 @@
key: build-skeleton-${{ github.run_id }}

build-sysdig-linux-amd64:
if: false
needs: [builder,build-skeleton-sysdig-linux-amd64]
runs-on: ubuntu-latest
container:
Expand Down Expand Up @@ -158,6 +160,7 @@
/build/release/sysdig-*.tar.gz

build-sysdig-linux-arm64:
if: false
needs: builder
env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -235,22 +238,21 @@
name: build-sysdig-other-amd64
strategy:
matrix:
os: [windows-latest, macos-13]
os: [windows-latest]
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 ..
cd build
git clone -b plugin-api-metrics-win-test https://github.com/mrgian/libs.git mrgian-libs
cmake -DFALCOSECURITY_LIBS_SOURCE_DIR="D:/a/sysdig/sysdig/build/mrgian-libs" -Wno-dev ..
cmake --build . --target package --config Release
- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand All @@ -260,6 +262,7 @@
build/sysdig-*.${{ matrix.artifact_ext }}

build-sysdig-others-arm64:
if: false
name: build-sysdig-other-arm64
strategy:
matrix:
Expand Down
Loading