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

 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           --with-external-symbols-in-bundles=none
115           --with-native-debug-symbols-level=1
116           ${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
117           echo "Dumping config.log:" &&
118           cat config.log &&
119           exit 1)
120 
121       - name: 'Build'
122         id: build
123         uses: ./.github/actions/do-build
124         with:
125           make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
126           platform: ${{ inputs.platform }}
127           debug-suffix: '${{ matrix.suffix }}'
128         if: ${{ inputs.dry-run == false }}
129 
130       - name: 'Upload bundles'
131         uses: ./.github/actions/upload-bundles
132         with:
133           platform: ${{ inputs.platform }}
< prev index next >