< prev index next >

.github/workflows/build-macos.yml

Print this page

 93 
 94       - name: 'Install toolchain and dependencies'
 95         run: |
 96           # Run Homebrew installation and xcode-select
 97           brew install autoconf make
 98           sudo xcode-select --switch /Applications/Xcode_${{ inputs.xcode-toolset-version }}.app/Contents/Developer
 99           # This will make GNU make available as 'make' and not only as 'gmake'
100           echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
101 
102       - name: 'Configure'
103         run: >
104           bash configure
105           --with-conf-name=${{ inputs.platform }}
106           ${{ matrix.flags }}
107           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
108           --with-boot-jdk=${{ steps.bootjdk.outputs.path }}
109           --with-jtreg=${{ steps.jtreg.outputs.path }}
110           --with-gtest=${{ steps.gtest.outputs.path }}
111           --with-zlib=system
112           --with-jmod-compress=zip-1

113           ${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
114           echo "Dumping config.log:" &&
115           cat config.log &&
116           exit 1)
117 
118       - name: 'Build'
119         id: build
120         uses: ./.github/actions/do-build
121         with:
122           make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
123           platform: ${{ inputs.platform }}
124           debug-suffix: '${{ matrix.suffix }}'
125         if: ${{ inputs.dry-run == false }}
126 
127       - name: 'Upload bundles'
128         uses: ./.github/actions/upload-bundles
129         with:
130           platform: ${{ inputs.platform }}
131           debug-suffix: '${{ matrix.suffix }}'
132         if: ${{ inputs.dry-run == false }}

 93 
 94       - name: 'Install toolchain and dependencies'
 95         run: |
 96           # Run Homebrew installation and xcode-select
 97           brew install autoconf make
 98           sudo xcode-select --switch /Applications/Xcode_${{ inputs.xcode-toolset-version }}.app/Contents/Developer
 99           # This will make GNU make available as 'make' and not only as 'gmake'
100           echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
101 
102       - name: 'Configure'
103         run: >
104           bash configure
105           --with-conf-name=${{ inputs.platform }}
106           ${{ matrix.flags }}
107           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
108           --with-boot-jdk=${{ steps.bootjdk.outputs.path }}
109           --with-jtreg=${{ steps.jtreg.outputs.path }}
110           --with-gtest=${{ steps.gtest.outputs.path }}
111           --with-zlib=system
112           --with-jmod-compress=zip-1
113           --disable-jvm-feature-shenandoahgc
114           ${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
115           echo "Dumping config.log:" &&
116           cat config.log &&
117           exit 1)
118 
119       - name: 'Build'
120         id: build
121         uses: ./.github/actions/do-build
122         with:
123           make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
124           platform: ${{ inputs.platform }}
125           debug-suffix: '${{ matrix.suffix }}'
126         if: ${{ inputs.dry-run == false }}
127 
128       - name: 'Upload bundles'
129         uses: ./.github/actions/upload-bundles
130         with:
131           platform: ${{ inputs.platform }}
132           debug-suffix: '${{ matrix.suffix }}'
133         if: ${{ inputs.dry-run == false }}
< prev index next >