| | |
| | | path: ~/.m2/repository |
| | | key: ${{ runner.os }}-m2-repository-${{ hashFiles('**/pom.xml') }} |
| | | restore-keys: ${{ runner.os }}-m2-repository |
| | | - name: Setup MSVC Developer Command Prompt (x86) |
| | | if: runner.os == 'Windows' |
| | | uses: ilammy/msvc-dev-cmd@v1 |
| | | with: |
| | | arch: x86 |
| | | - 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\ |