File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "_type" : " https://in-toto.io/Statement/v1" ,
3+ "subject" : [
4+ {
5+ "name" : " ghcr.io/philips-software/amp-devcontainer-cpp" ,
6+ "digest" : {
7+ "sha256" : " 74267eb664178abccd6336e8e0eda1f280d0fc25513ec31497f19780ae2f5150"
8+ }
9+ }
10+ ],
11+ "predicateType" : " https://slsa.dev/provenance/v1" ,
12+ "predicate" : {
13+ "buildDefinition" : {
14+ "buildType" : " https://actions.github.io/buildtypes/workflow/v1" ,
15+ "externalParameters" : {
16+ "workflow" : {
17+ "ref" : " refs/tags/v5.7.0" ,
18+ "repository" : " https://github.com/philips-software/amp-devcontainer" ,
19+ "path" : " .github/workflows/build-push.yml"
20+ }
21+ },
22+ "internalParameters" : {
23+ "github" : {
24+ "event_name" : " push" ,
25+ "repository_id" : " 593996679" ,
26+ "repository_owner_id" : " 39734771" ,
27+ "runner_environment" : " github-hosted"
28+ }
29+ },
30+ "resolvedDependencies" : [
31+ {
32+ "uri" : " git+https://github.com/philips-software/amp-devcontainer@refs/tags/v5.7.0" ,
33+ "digest" : {
34+ "gitCommit" : " baa5f517cf61e664a75ba302f258430269b1ed4b"
35+ }
36+ }
37+ ]
38+ },
39+ "runDetails" : {
40+ "builder" : {
41+ "id" : " https://github.com/philips-software/amp-devcontainer/.github/workflows/build-push.yml@refs/tags/v5.7.0"
42+ },
43+ "metadata" : {
44+ "invocationId" : " https://github.com/philips-software/amp-devcontainer/actions/runs/14104814548/attempts/1"
45+ }
46+ }
47+ }
48+ }
Original file line number Diff line number Diff line change 1+ ---
2+ name : Package Published
3+
4+ on :
5+ registry_package :
6+
7+ permissions :
8+ contents : read
9+
10+ jobs :
11+ attach-provenance-to-release :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - run : |
15+ set -Eeuo pipefail
16+ echo "${{ toJson(github.event.registry_package) }}" | jq .
17+ # gh attestation verify --repo philips-software/amp-devcontainer oci://ghcr.io/philips-software/amp-devcontainer-cpp --format json --jq '.[] | .attestation.bundle.dsseEnvelope | select(.payloadType == "application/vnd.in-toto+json").payload' | base64 -d
18+ env:
19+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ {
2+ "_type" : " https://in-toto.io/Statement/v1" ,
3+ "subject" : [
4+ {
5+ "name" : " ghcr.io/philips-software/amp-devcontainer-rust" ,
6+ "digest" : {
7+ "sha256" : " 73248de55e421edf977d4fb7ead82f6855e5395c283405c2beea076bdc0ac204"
8+ }
9+ }
10+ ],
11+ "predicateType" : " https://slsa.dev/provenance/v1" ,
12+ "predicate" : {
13+ "buildDefinition" : {
14+ "buildType" : " https://actions.github.io/buildtypes/workflow/v1" ,
15+ "externalParameters" : {
16+ "workflow" : {
17+ "ref" : " refs/tags/v5.7.0" ,
18+ "repository" : " https://github.com/philips-software/amp-devcontainer" ,
19+ "path" : " .github/workflows/build-push.yml"
20+ }
21+ },
22+ "internalParameters" : {
23+ "github" : {
24+ "event_name" : " push" ,
25+ "repository_id" : " 593996679" ,
26+ "repository_owner_id" : " 39734771" ,
27+ "runner_environment" : " github-hosted"
28+ }
29+ },
30+ "resolvedDependencies" : [
31+ {
32+ "uri" : " git+https://github.com/philips-software/amp-devcontainer@refs/tags/v5.7.0" ,
33+ "digest" : {
34+ "gitCommit" : " baa5f517cf61e664a75ba302f258430269b1ed4b"
35+ }
36+ }
37+ ]
38+ },
39+ "runDetails" : {
40+ "builder" : {
41+ "id" : " https://github.com/philips-software/amp-devcontainer/.github/workflows/build-push.yml@refs/tags/v5.7.0"
42+ },
43+ "metadata" : {
44+ "invocationId" : " https://github.com/philips-software/amp-devcontainer/actions/runs/14104814548/attempts/1"
45+ }
46+ }
47+ }
48+ }
Original file line number Diff line number Diff line change 1+ Subproject commit 34093a3a849cae8ae1293975b004a740d2372fd7
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bats
2+
3+ bats_require_minimum_version 1.5.0
4+
5+ setup () {
6+ load ' /usr/local/bats-support/load'
7+ load ' /usr/local/bats-assert/load'
8+
9+ pushd workspace
10+ }
11+
12+ teardown () {
13+ rm -rf build smhasher3
14+
15+ popd
16+ }
17+
18+ time_execution () {
19+ local real_time=$( { time $@ ; } 2>&1 | grep -oP ' real\s+\K[0-9m.]+s' )
20+ local minutes=$( echo $real_time | grep -oP ' ^\d+(?=m)' )
21+ local seconds=$( echo $real_time | grep -oP ' \d+\.\d+(?=s)' )
22+ local total_time_in_seconds=$( awk " BEGIN {print int((${minutes:- 0} * 60) + $seconds )}" )
23+
24+ echo $total_time_in_seconds
25+ }
26+
27+ @test " compiler performance should not regress" {
28+ git clone https://github.com/fwojcik/smhasher3
29+ cmake -B build -S smhasher3
30+ build_time=$( time_execution cmake --build build)
31+
32+ assert [ $build_time -lt 30 ]
33+ }
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bats
2+
3+ bats_require_minimum_version 1.5.0
4+
5+ setup () {
6+ load ' /usr/local/bats-support/load'
7+ load ' /usr/local/bats-assert/load'
8+
9+ pushd workspace
10+ }
11+
12+ teardown () {
13+ rm -rf build
14+
15+ popd
16+ }
17+
18+ @test " name mangling for lambdas in local classes is broken in clang [https://github.com/llvm/llvm-project/issues/88906]" {
19+ cmake --preset clang
20+ }
You can’t perform that action at this time.
0 commit comments