ci: remove swigwin setup from workflows

This commit is contained in:
Corentin Le Molgat
2024-09-04 13:37:16 +02:00
parent bb19935571
commit 9fdba5fc75
4 changed files with 1 additions and 22 deletions

View File

@@ -16,13 +16,6 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install SWIG 4.2.1
run: |
(New-Object System.Net.WebClient).DownloadFile("http://prdownloads.sourceforge.net/swig/swigwin-4.2.1.zip","swigwin-4.2.1.zip");
Expand-Archive .\swigwin-4.2.1.zip .;
echo "$((Get-Item .).FullName)/swigwin-4.2.1" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Check swig
run: swig -version
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v4
with:

View File

@@ -40,13 +40,6 @@ jobs:
run: |
java -version
mvn --version
- name: Install SWIG 4.2.1
run: |
(New-Object System.Net.WebClient).DownloadFile("http://prdownloads.sourceforge.net/swig/swigwin-4.2.1.zip","swigwin-4.2.1.zip");
Expand-Archive .\swigwin-4.2.1.zip .;
echo "$((Get-Item .).FullName)/swigwin-4.2.1" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Check swig
run: swig -version
- name: Check cmake
run: cmake --version
- name: Configure

View File

@@ -27,13 +27,6 @@ jobs:
python-version: ${{ matrix.python.version }}
- name: Install python3
run: python3 -m pip install --user mypy-protobuf absl-py setuptools wheel numpy pandas
- name: Install SWIG 4.2.1
run: |
(New-Object System.Net.WebClient).DownloadFile("http://prdownloads.sourceforge.net/swig/swigwin-4.2.1.zip","swigwin-4.2.1.zip");
Expand-Archive .\swigwin-4.2.1.zip .;
echo "$((Get-Item .).FullName)/swigwin-4.2.1" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Check swig
run: swig -version
- name: Add Python binaries to path
run: >
echo "$((Get-Item ~).FullName)/AppData/Roaming/Python/${{ matrix.python.dir }}/Scripts" |

View File

@@ -11,7 +11,7 @@ ExternalProject_Add(SWIG_project
SOURCE_DIR "@CMAKE_CURRENT_BINARY_DIR@/${PROJECT_NAME}/source"
BUILD_IN_SOURCE 1
URL "http://prdownloads.sourceforge.net/swig/swigwin-4.1.1.zip"
URL "http://prdownloads.sourceforge.net/swig/swigwin-4.2.1.zip"
LOG_DOWNLOAD TRUE
UPDATE_COMMAND ""