feat: add ARM64 Windows build target (#4237)

Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
This commit is contained in:
Saleem Abdulrasool 2025-09-24 12:29:03 -07:00 committed by GitHub
parent c28b90717b
commit 21d50d7c31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 1 deletions

View File

@ -42,7 +42,7 @@ builds:
dir: ./cmd/syft dir: ./cmd/syft
binary: syft binary: syft
goos: [windows] goos: [windows]
goarch: [amd64] goarch: [amd64, arm64]
mod_timestamp: *build-timestamp mod_timestamp: *build-timestamp
ldflags: *build-ldflags ldflags: *build-ldflags

View File

@ -104,6 +104,8 @@ run_test_case test_positive_snapshot_download_asset "darwin" "arm64" "tar.gz"
run_test_case test_positive_snapshot_download_asset "windows" "amd64" "sbom" run_test_case test_positive_snapshot_download_asset "windows" "amd64" "sbom"
run_test_case test_positive_snapshot_download_asset "windows" "amd64" "zip" run_test_case test_positive_snapshot_download_asset "windows" "amd64" "zip"
run_test_case test_positive_snapshot_download_asset "windows" "arm64" "sbom"
run_test_case test_positive_snapshot_download_asset "windows" "arm64" "zip"
# note: the mac signing process produces a dmg which is not part of the snapshot process (thus is not exercised here) # note: the mac signing process produces a dmg which is not part of the snapshot process (thus is not exercised here)
# let's make certain we covered all assets that were expected # let's make certain we covered all assets that were expected

View File

@ -99,6 +99,7 @@ run_test_case test_positive_snapshot_install_asset "linux" "s390x" "tar.gz"
run_test_case test_positive_snapshot_install_asset "darwin" "amd64" "tar.gz" run_test_case test_positive_snapshot_install_asset "darwin" "amd64" "tar.gz"
run_test_case test_positive_snapshot_install_asset "darwin" "arm64" "tar.gz" run_test_case test_positive_snapshot_install_asset "darwin" "arm64" "tar.gz"
run_test_case test_positive_snapshot_install_asset "windows" "amd64" "zip" run_test_case test_positive_snapshot_install_asset "windows" "amd64" "zip"
run_test_case test_positive_snapshot_install_asset "windows" "arm64" "zip"
# let's make certain we covered all assets that were expected # let's make certain we covered all assets that were expected
run_test_case test_install_asset_exercised_all_archive_assets run_test_case test_install_asset_exercised_all_archive_assets