< prev index next >

.github/workflows/build-windows.yml

Print this page

120 
121       - name: 'Install toolchain and dependencies'
122         run: |
123           # Run Visual Studio Installer
124           '/c/Program Files (x86)/Microsoft Visual Studio/Installer/vs_installer.exe' \
125             modify --quiet --installPath 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise' \
126             --add Microsoft.VisualStudio.Component.VC.${{ inputs.msvc-toolset-version }}.${{ inputs.msvc-toolset-architecture }}
127         if: steps.toolchain-check.outputs.toolchain-installed != 'true'
128 
129       - name: 'Configure'
130         run: >
131           bash configure
132           --with-conf-name=${{ inputs.platform }}
133           ${{ matrix.flags }}
134           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
135           --with-boot-jdk=${{ steps.bootjdk.outputs.path }}
136           --with-jtreg=${{ steps.jtreg.outputs.path }}
137           --with-gtest=${{ steps.gtest.outputs.path }}
138           --with-msvc-toolset-version=${{ inputs.msvc-toolset-version }}
139           --with-jmod-compress=zip-1

140           --with-external-symbols-in-bundles=none
141           ${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
142           echo "Dumping config.log:" &&
143           cat config.log &&
144           exit 1)
145         env:
146           # We need a minimal PATH on Windows
147           # Set PATH to "", so just GITHUB_PATH is included
148           PATH: ''
149         shell: env /usr/bin/bash --login -eo pipefail {0}
150         if: ${{ inputs.dry-run == false }}
151 
152       - name: 'Build'
153         id: build
154         uses: ./.github/actions/do-build
155         with:
156           make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
157           platform: ${{ inputs.platform }}
158           debug-suffix: '${{ matrix.suffix }}'
159         if: ${{ inputs.dry-run == false }}

120 
121       - name: 'Install toolchain and dependencies'
122         run: |
123           # Run Visual Studio Installer
124           '/c/Program Files (x86)/Microsoft Visual Studio/Installer/vs_installer.exe' \
125             modify --quiet --installPath 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise' \
126             --add Microsoft.VisualStudio.Component.VC.${{ inputs.msvc-toolset-version }}.${{ inputs.msvc-toolset-architecture }}
127         if: steps.toolchain-check.outputs.toolchain-installed != 'true'
128 
129       - name: 'Configure'
130         run: >
131           bash configure
132           --with-conf-name=${{ inputs.platform }}
133           ${{ matrix.flags }}
134           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
135           --with-boot-jdk=${{ steps.bootjdk.outputs.path }}
136           --with-jtreg=${{ steps.jtreg.outputs.path }}
137           --with-gtest=${{ steps.gtest.outputs.path }}
138           --with-msvc-toolset-version=${{ inputs.msvc-toolset-version }}
139           --with-jmod-compress=zip-1
140           --disable-jvm-feature-shenandoahgc
141           --with-external-symbols-in-bundles=none
142           ${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
143           echo "Dumping config.log:" &&
144           cat config.log &&
145           exit 1)
146         env:
147           # We need a minimal PATH on Windows
148           # Set PATH to "", so just GITHUB_PATH is included
149           PATH: ''
150         shell: env /usr/bin/bash --login -eo pipefail {0}
151         if: ${{ inputs.dry-run == false }}
152 
153       - name: 'Build'
154         id: build
155         uses: ./.github/actions/do-build
156         with:
157           make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
158           platform: ${{ inputs.platform }}
159           debug-suffix: '${{ matrix.suffix }}'
160         if: ${{ inputs.dry-run == false }}
< prev index next >