< prev index next >

.github/workflows/build-windows.yml

Print this page

145 
146       - name: 'Install toolchain and dependencies for ARM64'
147         run: |
148           # Run Visual Studio Installer
149           '/c/Program Files (x86)/Microsoft Visual Studio/Installer/vs_installer.exe' \
150             modify --quiet --installPath 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise' \
151             --add Microsoft.VisualStudio.Component.VC.${{ inputs.msvc-toolset-version }}.ARM64
152         if: ${{ ( inputs.architecture == 'ARM64') && (steps.toolchain-check-arm64.outputs.toolchain-installed != 'true') }}
153 
154       - name: 'Configure'
155         run: >
156           bash configure
157           --with-conf-name=${{ inputs.platform }}
158           ${{ matrix.flags }}
159           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
160           --with-boot-jdk=${{ steps.bootjdk.outputs.path }}
161           --with-jtreg=${{ steps.jtreg.outputs.path }}
162           --with-gtest=${{ steps.gtest.outputs.path }}
163           --with-msvc-toolset-version=${{ inputs.msvc-toolset-version }}
164           --with-jmod-compress=zip-1

165           --with-external-symbols-in-bundles=none
166           ${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
167           echo "Dumping config.log:" &&
168           cat config.log &&
169           exit 1)
170         env:
171           # We need a minimal PATH on Windows
172           # Set PATH to "", so just GITHUB_PATH is included
173           PATH: ''
174         shell: env /usr/bin/bash --login -eo pipefail {0}
175         if: ${{ inputs.dry-run == false }}
176 
177       - name: 'Build'
178         id: build
179         uses: ./.github/actions/do-build
180         with:
181           make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
182           platform: ${{ inputs.platform }}
183           debug-suffix: '${{ matrix.suffix }}'
184         if: ${{ inputs.dry-run == false }}

145 
146       - name: 'Install toolchain and dependencies for ARM64'
147         run: |
148           # Run Visual Studio Installer
149           '/c/Program Files (x86)/Microsoft Visual Studio/Installer/vs_installer.exe' \
150             modify --quiet --installPath 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise' \
151             --add Microsoft.VisualStudio.Component.VC.${{ inputs.msvc-toolset-version }}.ARM64
152         if: ${{ ( inputs.architecture == 'ARM64') && (steps.toolchain-check-arm64.outputs.toolchain-installed != 'true') }}
153 
154       - name: 'Configure'
155         run: >
156           bash configure
157           --with-conf-name=${{ inputs.platform }}
158           ${{ matrix.flags }}
159           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
160           --with-boot-jdk=${{ steps.bootjdk.outputs.path }}
161           --with-jtreg=${{ steps.jtreg.outputs.path }}
162           --with-gtest=${{ steps.gtest.outputs.path }}
163           --with-msvc-toolset-version=${{ inputs.msvc-toolset-version }}
164           --with-jmod-compress=zip-1
165           --disable-jvm-feature-shenandoahgc
166           --with-external-symbols-in-bundles=none
167           ${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
168           echo "Dumping config.log:" &&
169           cat config.log &&
170           exit 1)
171         env:
172           # We need a minimal PATH on Windows
173           # Set PATH to "", so just GITHUB_PATH is included
174           PATH: ''
175         shell: env /usr/bin/bash --login -eo pipefail {0}
176         if: ${{ inputs.dry-run == false }}
177 
178       - name: 'Build'
179         id: build
180         uses: ./.github/actions/do-build
181         with:
182           make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
183           platform: ${{ inputs.platform }}
184           debug-suffix: '${{ matrix.suffix }}'
185         if: ${{ inputs.dry-run == false }}
< prev index next >