diff --git a/.github/workflows/make_windows_cpp.yml b/.github/workflows/make_windows_cpp.yml index 4b08614f36..85cb0301c9 100644 --- a/.github/workflows/make_windows_cpp.yml +++ b/.github/workflows/make_windows_cpp.yml @@ -8,15 +8,22 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 + - uses: ilammy/msvc-dev-cmd@v1 + - name: Clean sh.exe + run: | + where sh + rm 'C:\Program Files\Git\usr\bin\sh.exe' + rm 'C:\Program Files\Git\bin\sh.exe' + shell: bash - name: Check make - run: make --version + run: tools\make --version - name: Check system - run: make detect_port + run: tools\make detect_port - name: Build third party - run: make third_party -j4 + run: tools\make third_party -j4 - name: Build C++ - run: make cc -j4 - - name: Test - run: make test_cc + run: tools\make cc -j4 + - name: Test C++ + run: tools\make test_cc - name: Install - run: make install_cc DESTDIR=install + run: tools\make install_cc diff --git a/.github/workflows/make_windows_dotnet.yml b/.github/workflows/make_windows_dotnet.yml index ad8a7e0685..1b37a7c626 100644 --- a/.github/workflows/make_windows_dotnet.yml +++ b/.github/workflows/make_windows_dotnet.yml @@ -8,19 +8,26 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 - - name: Check make - run: make --version - - name: Check system - run: make detect_port + - uses: ilammy/msvc-dev-cmd@v1 + - name: Clean sh.exe + run: | + where sh + rm 'C:\Program Files\Git\usr\bin\sh.exe' + rm 'C:\Program Files\Git\bin\sh.exe' + shell: bash - name: Check dotnet run: dotnet --info + - name: Check make + run: tools\make --version + - name: Check system + run: tools\make detect_port - name: Build third party - run: make third_party -j4 + run: tools\make third_party -j4 - name: Build C++ - run: make cc -j4 + run: tools\make cc -j4 - name: Build .Net - run: make dotnet -j4 - - name: Test - run: make test_dotnet -j4 + run: tools\make dotnet -j4 + - name: Test .Net + run: tools\make test_dotnet -j4 - name: Create nuget packages - run: make package_dotnet + run: tools\make package_dotnet diff --git a/.github/workflows/make_windows_java.yml b/.github/workflows/make_windows_java.yml index b815dd8ed2..16dfc46c61 100644 --- a/.github/workflows/make_windows_java.yml +++ b/.github/workflows/make_windows_java.yml @@ -8,19 +8,26 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 + - uses: ilammy/msvc-dev-cmd@v1 + - name: Clean sh.exe + run: | + where sh + rm 'C:\Program Files\Git\usr\bin\sh.exe' + rm 'C:\Program Files\Git\bin\sh.exe' + shell: bash - name: Check make - run: make --version + run: tools\make --version - name: Check system - run: make detect_port + run: tools\make detect_port - name: Check java run: java -version - name: Build third party - run: make third_party -j4 + run: tools\make third_party -j4 - name: Build C++ - run: make cc -j4 + run: tools\make cc -j4 - name: Build Java - run: make java -j4 - - name: Test - run: make test_java -j4 + run: tools\make java -j4 + - name: Test Java + run: tools\make test_java -j4 - name: Create maven package - run: make package_java + run: tools\make package_java diff --git a/.github/workflows/make_windows_python.yml b/.github/workflows/make_windows_python.yml index f6c0365065..56162ef635 100644 --- a/.github/workflows/make_windows_python.yml +++ b/.github/workflows/make_windows_python.yml @@ -8,19 +8,26 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 - - name: Check make - run: make --version - - name: Check system - run: make detect_port + - uses: ilammy/msvc-dev-cmd@v1 - name: Add Python binaries to path run: echo "$((Get-Item ~).FullName)/AppData/Roaming/Python/Python39/Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + - name: Clean sh.exe + run: | + where sh + rm 'C:\Program Files\Git\usr\bin\sh.exe' + rm 'C:\Program Files\Git\bin\sh.exe' + shell: bash + - name: Check make + run: tools\make --version + - name: Check system + run: tools\make detect_port - name: Build third party - run: make third_party -j4 + run: tools\make third_party -j4 - name: Build C++ - run: make cc -j4 + run: tools\make cc -j4 - name: Build Python - run: make python -j4 - - name: Test - run: make test_python -j4 + run: tools\make python -j4 + - name: Test Python + run: tools\make test_python -j4 - name: Create wheel package - run: make package_python + run: tools\make package_python