foxygit / doom Log in
commit 327b1e937256f7981e6276a3e4857197a3b5ce68
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Sun Sep 15 13:15:16 2024 -0400
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Sun Sep 15 14:03:11 2024 -0400

    quickcheck: Install Python3 YAML library for CI.

    The new version of quickcheck requires this library. For the Homebrew
    version we use pip to install it, as Homebrew is planning to remove
    their pyyaml package in the near future.
---
 .github/workflows/main.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 3f809fd0..5afc6900 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -78,6 +78,7 @@ jobs:
         run: |
           sudo apt-get update
           sudo apt-get install \
+            python3-yaml \
             libsdl2-dev \
             libsdl2-mixer-dev \
             libsdl2-net-dev \
@@ -95,7 +96,11 @@ jobs:
             sdl2_net \
             libpng \
             libsamplerate \
+            python3 \
             fluid-synth
+          # Since we're running CI inside a VM it doesn't really
+          # matter if we're "breaking" anything:
+          pip3 install --break-system-packages pyyaml

       - name: Install dependencies (MSYS2)
         if: runner.os == 'Windows'
@@ -114,6 +119,7 @@ jobs:
             ${{ matrix.config.msys-env }}-libpng
             ${{ matrix.config.msys-env }}-libsamplerate
             ${{ matrix.config.msys-env }}-fluidsynth
+            ${{ matrix.config.msys-env }}-python3-yaml

       - uses: actions/checkout@v4
         with: