From ac64cb1476ffb59e9fefcbc580c8da48acb94944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Kl=C3=B6ffel?= <145490354+christophkloeffel@users.noreply.github.com> Date: Thu, 12 Sep 2024 15:08:24 +0200 Subject: [PATCH] adds windows as platform to the CI testsuite (#104) --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36e772b..3d8fcc7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,11 +29,13 @@ jobs: if: success() strategy: matrix: - os: [ubuntu-latest, macos-13, macos-14] + os: [ubuntu-latest, windows-latest, macos-13, macos-14] py-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] include: - os: ubuntu-latest cvc5-plat: "linux" + - os: windows-latest + cvc5-plat: "windows" - os: macos-13 brew: "/usr/local" cvc5-plat: "osx13" @@ -54,6 +56,12 @@ jobs: brew install python@${{ matrix.py-version }} echo "${{ matrix.brew }}/opt/python@${{ matrix.py-version }}/libexec/bin" >> $GITHUB_PATH python${{ matrix.py-version }} -m ensurepip + - name: Install scoop and gnu findutils on windows + if: matrix.os == 'windows-latest' + run: | + Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh') + scoop install findutils + "$env:HOMEDRIVE$env:HOMEPATH\scoop\apps\findutils\current\bin" | Out-File -FilePath $env:GITHUB_PATH -Append - name: Install dependencies run: | python -m pip install --upgrade pip