Skip to content

Commit

Permalink
ci: seprate resolve-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Jan 16, 2024
1 parent 9cd00f2 commit f46ad33
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f46ad33

Please sign in to comment.