Skip to content

Commit

Permalink
gpgomea hack
Browse files Browse the repository at this point in the history
  • Loading branch information
lacava committed Jan 25, 2024
1 parent 0916d1a commit 4d239fa
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- id: set-matrix
run: echo "::set-output name=matrix::$(ls algorithms/ | jq -R -s -c 'split("\n")[:-1]')"

################################################################################
# build each algorithm in parallel and run tests
################################################################################
Expand All @@ -84,6 +85,18 @@ jobs:
-
name: Checkout code
uses: actions/checkout@v3
-
name: read-yaml-file
uses: pietrobolcato/action-read-yaml@1.0.0
id: metadata
with:
config: algorithms/${{ matrix.alg }}/metadata.yml
-
name: cache flag
uses: pietrobolcato/action-read-yaml@1.0.0
id: metadata
with:
config: algorithms/${{ matrix.alg }}/metadata.yml
-
name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v2
Expand Down Expand Up @@ -123,7 +136,7 @@ jobs:
-
name: Install method
if: |
steps.cache-alg-env.outputs.cache-hit != 'true'
${{ (steps.cache-alg-env.outputs.cache-hit != 'true') || (${{ matrix.alg }} != 'gpgomea') }}
run: bash install.sh ${{ matrix.alg }}
# If cache is restored, we still have to copy alg files in the experiment folder
-
Expand Down

0 comments on commit 4d239fa

Please sign in to comment.