Skip to content

Commit

Permalink
no patch for windows-java-dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sgatto committed Jul 17, 2024
1 parent f0bb172 commit 92469f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/windows-java-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:

jobs:
build:
name: Windows java and dotnet
name: Windows without Sirius java and dotnet
runs-on: windows-latest
env:
XPRESSDIR: ${{ github.workspace }}\xpressmp
Expand All @@ -46,11 +46,6 @@ jobs:
repository: google/or-tools
ref: 'stable'

- name: Checkout this repository
uses: actions/checkout@v4
with:
path: "patch"

- name: Setup .NET 6.0
uses: actions/setup-dotnet@v4
with:
Expand All @@ -61,12 +56,6 @@ jobs:
with:
python-version: "3.9"

- name: Apply patch
shell: bash
run: |
cp -r patch/* .
python patch.py
- name: Install SWIG 4.1.1
run: |
(New-Object System.Net.WebClient).DownloadFile("http://prdownloads.sourceforge.net/swig/swigwin-4.1.1.zip","swigwin-4.1.1.zip");
Expand Down Expand Up @@ -96,7 +85,7 @@ jobs:
-DBUILD_JAVA=ON
-DBUILD_DOTNET=ON
-DBUILD_EXAMPLES=${{ env.RELEASE_CREATED == 'true' && 'OFF' || 'ON' }}
-DBUILD_CXX_SAMPLES=OFF
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF
-DBUILD_SAMPLES=OFF
-DCMAKE_INSTALL_PREFIX=install
-DBUILD_FLATZINC=OFF
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
-DCMAKE_BUILD_TYPE=Release
-DBUILD_SAMPLES=OFF
-DBUILD_EXAMPLES=${{ env.RELEASE_CREATED == 'true' && 'OFF' || 'ON' }}
-DBUILD_CXX_SAMPLES=OFF
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF
-DBUILD_PYTHON=ON
-DBUILD_SAMPLES=OFF
Expand Down

0 comments on commit 92469f2

Please sign in to comment.