From b254cd683c23f968060ca0fd8f70197d685fac88 Mon Sep 17 00:00:00 2001 From: belerico Date: Thu, 11 Apr 2024 10:26:25 +0200 Subject: [PATCH] Install swig from chocolatey --- .github/workflows/cpu-tests.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cpu-tests.yaml b/.github/workflows/cpu-tests.yaml index 65c7fd0f..2cc88abf 100644 --- a/.github/workflows/cpu-tests.yaml +++ b/.github/workflows/cpu-tests.yaml @@ -46,15 +46,14 @@ jobs: if: ${{ matrix.os == 'windows-latest' }} shell: powershell run: | + choco upgrade swig -y env\\Scripts\\Activate.ps1 - python -m pip install swig - $env:Path = '${GITHUB_WORKSPACE}\\env\\Scripts\\swig.exe;' + $env:Path python -m pip install -e .[atari,box2d,test,dev] - name: Install packages Linux if: ${{ matrix.os == 'ubuntu-latest' }} run: | - sudo apt-get install --no-install-recommends -y swig + sudo apt-get install --no-install-recommends -y --only-upgrade swig source env/bin/activate python -m pip install -e .[atari,box2d,test,dev]