< prev index next >

.github/workflows/build-windows.yml

Print this page

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

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

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