Skip to content

Commit abbef28

Browse files
authored
Add rendergraph to releases (#1558)
* Add `rendergraph` to releases * Update `readme` to make things more clear
1 parent 7287ae8 commit abbef28

File tree

6 files changed

+747
-21
lines changed

6 files changed

+747
-21
lines changed

.github/workflows/build-all.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ jobs:
196196
./release/fossa.exe --version
197197
cp target/release/diagnose.exe release
198198
cp target/release/millhone.exe release
199+
cp target/release/rendergraph.exe release
199200
200201
- name: Find and move binaries (non-Windows)
201202
if: ${{ !contains(matrix.os, 'windows') }}
@@ -205,6 +206,7 @@ jobs:
205206
./release/fossa --version
206207
cp target/release/diagnose release
207208
cp target/release/millhone release
209+
cp target/release/rendergraph release
208210
209211
- name: Strip binaries
210212
run: |
@@ -251,6 +253,7 @@ jobs:
251253
fi
252254
codesign --options runtime -s 'FOSSA, Inc.' release/diagnose
253255
codesign --options runtime -s 'FOSSA, Inc.' release/millhone
256+
codesign --options runtime -s 'FOSSA, Inc.' release/rendergraph
254257
255258
# Perform notarization
256259
zip -rj notarization-archive.zip release
@@ -325,10 +328,12 @@ jobs:
325328
cosign sign-blob --yes --bundle "$linux_kind-binaries/fossa.bundle" "$linux_kind-binaries/fossa"
326329
cosign sign-blob --yes --bundle "$linux_kind-binaries/diagnose.bundle" "$linux_kind-binaries/diagnose"
327330
cosign sign-blob --yes --bundle "$linux_kind-binaries/millhone.bundle" "$linux_kind-binaries/millhone"
331+
cosign sign-blob --yes --bundle "$linux_kind-binaries/rendergraph.bundle" "$linux_kind-binaries/rendergraph"
328332
329333
cosign verify-blob --bundle "$linux_kind-binaries/fossa.bundle" --certificate-oidc-issuer "https://token.actions.githubusercontent.com" --certificate-identity "https://github.com/$GITHUB_WORKFLOW_REF" "$linux_kind-binaries/fossa"
330334
cosign verify-blob --bundle "$linux_kind-binaries/diagnose.bundle" --certificate-oidc-issuer "https://token.actions.githubusercontent.com" --certificate-identity "https://github.com/$GITHUB_WORKFLOW_REF" "$linux_kind-binaries/diagnose"
331335
cosign verify-blob --bundle "$linux_kind-binaries/millhone.bundle" --certificate-oidc-issuer "https://token.actions.githubusercontent.com" --certificate-identity "https://github.com/$GITHUB_WORKFLOW_REF" "$linux_kind-binaries/millhone"
336+
cosign verify-blob --bundle "$linux_kind-binaries/rendergraph.bundle" --certificate-oidc-issuer "https://token.actions.githubusercontent.com" --certificate-identity "https://github.com/$GITHUB_WORKFLOW_REF" "$linux_kind-binaries/rendergraph"
332337
333338
done
334339
@@ -347,12 +352,16 @@ jobs:
347352
LINUX_DIAGNOSE_ZIP_PATH: "release/diagnose_${{ steps.get-version.outputs.VERSION }}_linux_amd64.zip"
348353
LINUX_MILLHONE_TAR_PATH: "release/millhone_${{ steps.get-version.outputs.VERSION }}_linux_amd64.tar"
349354
LINUX_MILLHONE_ZIP_PATH: "release/millhone_${{ steps.get-version.outputs.VERSION }}_linux_amd64.zip"
355+
LINUX_RENDERGRAPH_TAR_PATH: "release/rendergraph_${{ steps.get-version.outputs.VERSION }}_linux_amd64.tar"
356+
LINUX_RENDERGRAPH_ZIP_PATH: "release/rendergraph_${{ steps.get-version.outputs.VERSION }}_linux_amd64.zip"
350357
LINUX_ARM_FOSSA_TAR_PATH: "release/fossa_${{ steps.get-version.outputs.VERSION }}_linux_arm64.tar"
351358
LINUX_ARM_FOSSA_ZIP_PATH: "release/fossa_${{ steps.get-version.outputs.VERSION }}_linux_arm64.zip"
352359
LINUX_ARM_DIAGNOSE_TAR_PATH: "release/diagnose_${{ steps.get-version.outputs.VERSION }}_linux_arm64.tar"
353360
LINUX_ARM_DIAGNOSE_ZIP_PATH: "release/diagnose_${{ steps.get-version.outputs.VERSION }}_linux_arm64.zip"
354361
LINUX_ARM_MILLHONE_TAR_PATH: "release/millhone_${{ steps.get-version.outputs.VERSION }}_linux_arm64.tar"
355362
LINUX_ARM_MILLHONE_ZIP_PATH: "release/millhone_${{ steps.get-version.outputs.VERSION }}_linux_arm64.zip"
363+
LINUX_ARM_RENDERGRAPH_TAR_PATH: "release/rendergraph_${{ steps.get-version.outputs.VERSION }}_linux_arm64.tar"
364+
LINUX_ARM_RENDERGRAPH_ZIP_PATH: "release/rendergraph_${{ steps.get-version.outputs.VERSION }}_linux_arm64.zip"
356365

357366
run: |
358367
mkdir release
@@ -364,55 +373,67 @@ jobs:
364373
zip -j "$LINUX_FOSSA_ZIP_PATH" Linux-binaries/fossa
365374
zip -j "$LINUX_DIAGNOSE_ZIP_PATH" Linux-binaries/diagnose
366375
zip -j "$LINUX_MILLHONE_ZIP_PATH" Linux-binaries/millhone
376+
zip -j "$LINUX_RENDERGRAPH_ZIP_PATH" Linux-binaries/rendergraph
367377
tar --create --verbose --file "$LINUX_FOSSA_TAR_PATH" --directory Linux-binaries fossa
368378
tar --create --verbose --file "$LINUX_DIAGNOSE_TAR_PATH" --directory Linux-binaries diagnose
369379
tar --create --verbose --file "$LINUX_MILLHONE_TAR_PATH" --directory Linux-binaries millhone
380+
tar --create --verbose --file "$LINUX_RENDERGRAPH_TAR_PATH" --directory Linux-binaries rendergraph
370381
371382
zip -j "$LINUX_ARM_FOSSA_ZIP_PATH" Linux-arm-binaries/fossa
372383
zip -j "$LINUX_ARM_DIAGNOSE_ZIP_PATH" Linux-arm-binaries/diagnose
373384
zip -j "$LINUX_ARM_MILLHONE_ZIP_PATH" Linux-arm-binaries/millhone
385+
zip -j "$LINUX_ARM_RENDERGRAPH_ZIP_PATH" Linux-arm-binaries/rendergraph
374386
tar --create --verbose --file "$LINUX_ARM_FOSSA_TAR_PATH" --directory Linux-arm-binaries fossa
375387
tar --create --verbose --file "$LINUX_ARM_DIAGNOSE_TAR_PATH" --directory Linux-arm-binaries diagnose
376388
tar --create --verbose --file "$LINUX_ARM_MILLHONE_TAR_PATH" --directory Linux-arm-binaries millhone
389+
tar --create --verbose --file "$LINUX_ARM_RENDERGRAPH_TAR_PATH" --directory Linux-arm-binaries rendergraph
377390
378391
if [ "$GITHUB_REF_TYPE" = "tag" ]; then
379392
tar --append --file "$LINUX_FOSSA_TAR_PATH" --directory Linux-binaries fossa.bundle
380393
tar --append --file "$LINUX_DIAGNOSE_TAR_PATH" --directory Linux-binaries diagnose.bundle
381394
tar --append --file "$LINUX_MILLHONE_TAR_PATH" --directory Linux-binaries millhone.bundle
395+
tar --append --file "$LINUX_RENDERGRAPH_TAR_PATH" --directory Linux-binaries rendergraph.bundle
382396
zip -j "$LINUX_FOSSA_ZIP_PATH" Linux-binaries/fossa.bundle
383397
zip -j "$LINUX_DIAGNOSE_ZIP_PATH" Linux-binaries/diagnose.bundle
384398
zip -j "$LINUX_MILLHONE_ZIP_PATH" Linux-binaries/millhone.bundle
399+
zip -j "$LINUX_RENDERGRAPH_ZIP_PATH" Linux-binaries/rendergraph.bundle
385400
386401
tar --append --file "$LINUX_ARM_FOSSA_TAR_PATH" --directory Linux-arm-binaries fossa.bundle
387402
tar --append --file "$LINUX_ARM_DIAGNOSE_TAR_PATH" --directory Linux-arm-binaries diagnose.bundle
388403
tar --append --file "$LINUX_ARM_MILLHONE_TAR_PATH" --directory Linux-arm-binaries millhone.bundle
404+
tar --append --file "$LINUX_ARM_RENDERGRAPH_TAR_PATH" --directory Linux-arm-binaries rendergraph.bundle
389405
zip -j "$LINUX_ARM_FOSSA_ZIP_PATH" Linux-arm-binaries/fossa.bundle
390406
zip -j "$LINUX_ARM_DIAGNOSE_ZIP_PATH" Linux-arm-binaries/diagnose.bundle
391407
zip -j "$LINUX_ARM_MILLHONE_ZIP_PATH" Linux-arm-binaries/millhone.bundle
408+
zip -j "$LINUX_ARM_RENDERGRAPH_ZIP_PATH" Linux-arm-binaries/rendergraph.bundle
392409
393410
fi
394411
395412
gzip "$LINUX_FOSSA_TAR_PATH"
396413
gzip "$LINUX_DIAGNOSE_TAR_PATH"
397414
gzip "$LINUX_MILLHONE_TAR_PATH"
415+
gzip "$LINUX_RENDERGRAPH_TAR_PATH"
398416
399417
gzip "$LINUX_ARM_FOSSA_TAR_PATH"
400418
gzip "$LINUX_ARM_DIAGNOSE_TAR_PATH"
401-
gzip "$LINUX_ARM_MILLHONE_TAR_PATH"
419+
gzip "$LINUX_ARM_RENDERGRAPH_TAR_PATH"
402420
403421
chmod +x macOS-intel-binaries/*
404422
zip -j release/fossa_${{ steps.get-version.outputs.VERSION }}_darwin_amd64.zip macOS-intel-binaries/fossa
405423
zip -j release/diagnose_${{ steps.get-version.outputs.VERSION }}_darwin_amd64.zip macOS-intel-binaries/diagnose
406424
zip -j release/millhone_${{ steps.get-version.outputs.VERSION }}_darwin_amd64.zip macOS-intel-binaries/millhone
425+
zip -j release/rendergraph_${{ steps.get-version.outputs.VERSION }}_darwin_amd64.zip macOS-intel-binaries/rendergraph
407426
chmod +x macOS-arm64-binaries/*
408427
zip -j release/fossa_${{ steps.get-version.outputs.VERSION }}_darwin_arm64.zip macOS-arm64-binaries/fossa
409428
zip -j release/diagnose_${{ steps.get-version.outputs.VERSION }}_darwin_arm64.zip macOS-arm64-binaries/diagnose
410429
zip -j release/millhone_${{ steps.get-version.outputs.VERSION }}_darwin_arm64.zip macOS-arm64-binaries/millhone
430+
zip -j release/rendergraph_${{ steps.get-version.outputs.VERSION }}_darwin_arm64.zip macOS-arm64-binaries/rendergraph
411431
412432
chmod +x Windows-binaries/*
413433
zip -j release/fossa_${{ steps.get-version.outputs.VERSION }}_windows_amd64.zip Windows-binaries/fossa.exe
414434
zip -j release/diagnose_${{ steps.get-version.outputs.VERSION }}_windows_amd64.zip Windows-binaries/diagnose.exe
415435
zip -j release/millhone_${{ steps.get-version.outputs.VERSION }}_windows_amd64.zip Windows-binaries/millhone.exe
436+
zip -j release/rendergraph_${{ steps.get-version.outputs.VERSION }}_windows_amd64.zip Windows-binaries/rendergraph.exe
416437
417438
- name: Create checksums
418439
# We have to run from within the release dir so that "release" isn't prepended to the relative path of the zip file.

0 commit comments

Comments
 (0)