Skip to content

Commit

Permalink
feature(ci): Add "iog-full" flavor to github CI (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgillespie authored Apr 2, 2024
1 parent 6049c0f commit e489b1b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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' }}
8 changes: 6 additions & 2 deletions .github/workflows/wait-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit e489b1b

Please sign in to comment.