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

wip: ci only buildfailures #29

Closed
wants to merge 13 commits into from
12 changes: 8 additions & 4 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ name: test

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

Expand Down Expand Up @@ -47,12 +46,13 @@ jobs:
cmake-version: ${{ matrix.cmake_version }}

- name: Print CMake version
run: cmake --version
run: |
cmake --version

- name: setup python
uses: actions/setup-python@v3
with:
python-version: "3.10"
python-version: "3.12"

- name: Install spdx-tools
run: |
Expand All @@ -68,6 +68,10 @@ jobs:
CMAKE_VERSION: ${{ matrix.cmake_version }}

- name: Install
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --target install
# this has to create a parsing table for the spdx-file syntax, which for some reason
# is printed to stderr...
run: |
pyspdxtools -i ${{ github.workspace }}/example/output/*.spdx
cmake --build ${{ steps.strings.outputs.build-output-dir }} --target install
env:
CMAKE_VERSION: ${{ matrix.cmake_version }}
6 changes: 2 additions & 4 deletions example/output/Example-sbom-0.3.0.spdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ PackageDownloadLocation: NOASSERTION
PackageLicenseDeclared: NOASSERTION
PackageCopyrightText: NOASSERTION
PackageVersion: 3.2.0
PackageSupplier: Jarryd Beck (https://github.com/jarro2783/cxxopts)
FilesAnalyzed: false
PackageSupplier: Person: Jarryd Beck
PackageLicenseConcluded: MIT
Relationship: SPDXRef-Example DEPENDS_ON SPDXRef-cxxopts-0
Relationship: SPDXRef-cxxopts-0 CONTAINS NOASSERTION
Expand All @@ -61,8 +60,7 @@ PackageDownloadLocation: NOASSERTION
PackageLicenseDeclared: NOASSERTION
PackageCopyrightText: NOASSERTION
PackageVersion: 1.85.0
PackageSupplier: https://www.boost.org
FilesAnalyzed: false
PackageSupplier: Organization: Boost
PackageLicenseConcluded: BSL-1.0
Relationship: SPDXRef-Example DEPENDS_ON SPDXRef-Boost-1
Relationship: SPDXRef-Boost-1 CONTAINS NOASSERTION
Expand Down
Loading