From ab67f121e7f0847cac56c851a39da7b40b507427 Mon Sep 17 00:00:00 2001 From: Alec Edgington <54802828+cqc-alec@users.noreply.github.com> Date: Wed, 4 Sep 2024 13:13:30 +0100 Subject: [PATCH] Install pytket requirements before version consistency checks. (#1562) --- .github/workflows/build_and_test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 2df51ca292..afaff3d71b 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -261,6 +261,10 @@ jobs: - name: Install tket if: needs.check_changes.outputs.tket_changed != 'true' run: conan install --requires tket/${{ needs.check_changes.outputs.tket_ver }}@tket/stable -o boost/*:header_only=True -o tklog/*:shared=True -o tket/*:shared=True + - name: Install pytket requirements + run: | + conan create recipes/pybind11 + conan create recipes/pybind11_json/all --version 0.2.14 - name: check that version is consistent if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' run: ./.github/workflows/check-tket-reqs ${{ needs.check_changes.outputs.tket_ver }} @@ -371,6 +375,10 @@ jobs: - name: Install tket if: needs.check_changes.outputs.tket_changed != 'true' run: conan install --requires tket/${{ needs.check_changes.outputs.tket_ver }}@tket/stable -o boost/*:header_only=True -o tklog/*:shared=True -o tket/*:shared=True + - name: Install pytket requirements + run: | + conan create recipes/pybind11 + conan create recipes/pybind11_json/all --version 0.2.14 - name: check that version is consistent if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' run: ./.github/workflows/check-tket-reqs ${{ needs.check_changes.outputs.tket_ver }} @@ -495,6 +503,10 @@ jobs: - name: Install tket if: needs.check_changes.outputs.tket_changed != 'true' run: conan install --requires tket/${{ needs.check_changes.outputs.tket_ver }}@tket/stable -o boost/*:header_only=True -o tklog/*:shared=True -o tket/*:shared=True + - name: Install pytket requirements + run: | + conan create recipes/pybind11 + conan create recipes/pybind11_json/all --version 0.2.14 - name: check that version is consistent if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' run: ./.github/workflows/check-tket-reqs ${{ needs.check_changes.outputs.tket_ver }}