From 6041503215cb058cdc373e6bdd8dd3d6a5eb5876 Mon Sep 17 00:00:00 2001 From: Will Date: Sat, 13 Jul 2024 18:32:02 -0400 Subject: [PATCH] watcher/python, watcher/cross --- .github/workflows/libcwatcher.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/libcwatcher.yml b/.github/workflows/libcwatcher.yml index 1497dcc0..f06a512a 100644 --- a/.github/workflows/libcwatcher.yml +++ b/.github/workflows/libcwatcher.yml @@ -31,9 +31,8 @@ jobs: restore-keys: | cache.libcwatcher.${{matrix.target-triple}}.apt-cache - run: | - apt-get update -yqq - apt-get install -yqq python3 python3-pip python3-setuptools python3-wheel ninja-build - pip3 install meson + which python3 || apt-get install -yqq python3 python3-pip python3-setuptools python3-wheel ninja-build + which meson || pip3 install meson - run: | meson setup --cross-file libcwatcher/cross-files/${{matrix.target-triple}}.txt ${{matrix.target-triple}} meson compile -C ${{matrix.target-triple}}