Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/binary-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ jobs:
arch: arm64
runner: windows-11-arm
# Set musl configurations
- image: debian:11
- image: php:8.4-bullseye
libc-suffix: ''
node-download-url: https://nodejs.org/dist/
prepare: |
apt update
apt install -y curl
- libc: musl
image: alpine:3.16
image: php:8.4-alpine3.21
libc-suffix: -musl
node-download-url: https://raw.githubusercontent.com/appthreat/nodejs-unofficial-builds/main/dists/
prepare: |
Expand All @@ -95,7 +95,7 @@ jobs:
pnpm install:prod --config.node-linker=hoisted

# Generate sbom
node bin/cdxgen.js -t jar -t js -o sbom-postbuild.cdx.json --include-formulation
node bin/cdxgen.js -t jar -t js -t php -t ruby -o sbom-postbuild.cdx.json --include-formulation

# Produce cdxgen binary
pnpm --package=@appthreat/caxa dlx caxa --input . --output cdxgen -- "{{caxa}}/node_modules/.bin/node" "{{caxa}}/bin/cdxgen.js"
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
pnpm install:prod --config.node-linker=hoisted

# Generate sbom
node bin/cdxgen.js -t jar -t js -o sbom-postbuild.cdx.json --include-formulation
node bin/cdxgen.js -t jar -t js -t php -t ruby -o sbom-postbuild.cdx.json --include-formulation

# Produce cdxgen binary
pnpm --package=@appthreat/caxa dlx caxa --input . --output cdxgen.exe -- "{{caxa}}/node_modules/.bin/node" "{{caxa}}/bin/cdxgen.js"
Expand Down Expand Up @@ -168,6 +168,9 @@ jobs:
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: ${{ matrix.node }}
- name: Install composer
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # 2.35.4
if: ${{ matrix.os == 'darwin' }}
- name: Get user info
id: user_info
if: ${{ matrix.os == 'linux' }}
Expand Down Expand Up @@ -199,6 +202,9 @@ jobs:
# Install pnpm
npm install --global pnpm

# Install composer
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

# Build
${{ matrix.cmd }}

Expand Down
1,460 changes: 1,112 additions & 348 deletions data/bom-1.7.schema.json

Large diffs are not rendered by default.

Loading
Loading