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

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           ${{ 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 }}
157 
< prev index next >