From e489b1b52fb67a18947450c3b5d58c6da0caa4c5 Mon Sep 17 00:00:00 2001 From: Sean Gillespie Date: Tue, 2 Apr 2024 09:14:51 -0400 Subject: [PATCH] feature(ci): Add "iog-full" flavor to github CI (#133) --- .github/workflows/main.yml | 2 ++ .github/workflows/wait-and-upload.yml | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 65447b47..b57d11fb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,6 +51,7 @@ jobs: iog: - "" - "-iog" + - "-iog-full" exclude: # Just cross compiling javascript with ghc 9.6.2 for now - compiler-nix-name: ghc810 @@ -88,3 +89,4 @@ jobs: compiler-nix-name: ${{ matrix.compiler-nix-name }} minimal: ${{ matrix.variant == '-minimal' }} iog: ${{ matrix.iog == '-iog' }} + iog-full: ${{ matrix.iog == '-iog-full' }} diff --git a/.github/workflows/wait-and-upload.yml b/.github/workflows/wait-and-upload.yml index bf042ec3..64d1922b 100644 --- a/.github/workflows/wait-and-upload.yml +++ b/.github/workflows/wait-and-upload.yml @@ -20,14 +20,18 @@ on: type: boolean default: true iog: - description: 'without iog libs: libsodium, libsecp256k1, libblst, ...' + description: 'with iog libs: libsodium, libsecp256k1, libblst, ...' + type: boolean + default: false + iog-full: + description: 'with full iog libs: libsodium, libsecp256k1, libblst, postgresql, R, ...' type: boolean default: false env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} - DEV_SHELL: ${{ inputs.platform }}.${{ inputs.compiler-nix-name }}${{ inputs.target-platform }}${{ inputs.minimal && '-minimal' || '' }}${{ inputs.iog && '-iog' || ''}}-env + DEV_SHELL: ${{ inputs.platform }}.${{ inputs.compiler-nix-name }}${{ inputs.target-platform }}${{ inputs.minimal && '-minimal' || '' }}${{ (inputs.iog-full && '-iog-full') || (inputs.iog && '-iog') || ''}}-env DEFAULT_TAG: latest GH_TOKEN: ${{ github.token }}