| | |
| | | if: runner.os != 'Windows' |
| | | run: | |
| | | echo "MAVEN_PROFILE_FLAG=-P precommit" >> $GITHUB_OUTPUT |
| | | - name: Build Windows native executables |
| | | if: runner.os == 'Windows' |
| | | shell: cmd |
| | | run: | |
| | | call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86 |
| | | cd opendj-server-legacy\src\build-tools\windows |
| | | nmake all |
| | | xcopy /Y *.exe ..\..\..\lib\ |
| | | |
| | | - name: Build with Maven |
| | | timeout-minutes: 180 |
| | | env: |
| | |
| | | opendj-server-legacy\target\package\opendj\bat\ldapsearch.bat --hostname localhost --port 1636 --bindDN "cn=Directory Manager" --bindPassword password --useSsl --trustAll --baseDN "dc=example2,dc=com" --searchScope sub "(uid=user.*)" dn | find /c '"dn:"' | findstr "10000" |
| | | opendj-server-legacy\target\package\opendj\bat\stop-ds.bat |
| | | |
| | | - name: Build Windows native executables |
| | | if: runner.os == 'Windows' |
| | | shell: cmd |
| | | run: | |
| | | call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86 |
| | | cd opendj-server-legacy\src\build-tools\windows |
| | | nmake all |
| | | |
| | | - name: Upload Windows exe artifacts |
| | | if: runner.os == 'Windows' |
| | | uses: actions/upload-artifact@v4 |