From f46ad3394bc1653599087beb178967094d9959d2 Mon Sep 17 00:00:00 2001 From: Christopher Dilks Date: Tue, 16 Jan 2024 14:10:31 -0500 Subject: [PATCH] ci: seprate resolve-deps --- .github/workflows/ci.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8d7c94c..6526f7d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -125,15 +125,21 @@ jobs: if: ${{ inputs.runner == 'macos-latest' }} - run: tree ### build iguana + - name: resolve dependencies + id: deps + run: | + args="--hipo hipo --fmt fmt" + meson/resolve-dependencies.py $args + echo opts=$(meson/resolve-dependencies.py $args --cli) >> $GITHUB_OUTPUT - name: meson setup run: | - meson setup \ - $(meson/resolve-dependencies.py --cli --hipo hipo --fmt fmt) \ - -Dbuildtype=release \ - -Dprefix=$(pwd)/iguana \ - -Dexamples=True \ - -Ddocumentation=False \ - ${{ matrix.extra_build_opts }} \ + meson setup \ + ${{ steps.deps.outputs.opts }} \ + -Dbuildtype=release \ + -Dprefix=$(pwd)/iguana \ + -Dexamples=True \ + -Ddocumentation=False \ + ${{ matrix.extra_build_opts }} \ build - name: dump build options run: meson configure build | cat