Skip to content

Commit

Permalink
macos_aarch64: prepare for build
Browse files Browse the repository at this point in the history
  • Loading branch information
ahadas committed Mar 30, 2024
1 parent 35f5009 commit 8174758
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/macos_aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,40 @@ jobs:
with:
repository: mucommander/jdk

- name: 'Get the BootJDK'
id: bootjdk
uses: mucommander/jdk/.github/actions/get-bootjdk
with:
platform: ${{ inputs.platform }}

- name: 'Get JTReg'
id: jtreg
uses: mucommander/jdk/.github/actions/get-jtreg

- name: 'Install toolchain and dependencies'
run: |
# Run Homebrew installation and xcode-select
brew install autoconf make
sudo xcode-select --switch /Applications/Xcode_${{ inputs.xcode-toolset-version }}.app/Contents/Developer
# This will make GNU make available as 'make' and not only as 'gmake'
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
- name: 'Configure'
run: >
bash configure
--with-conf-name=${{ inputs.platform }}
${{ matrix.flags }}
--with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
--with-boot-jdk=${{ steps.bootjdk.outputs.path }}
--with-jtreg=${{ steps.jtreg.outputs.path }}
--with-gtest=${{ steps.gtest.outputs.path }}
--with-zlib=system
--with-jmod-compress=zip-1
${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
echo "Dumping config.log:" &&
cat config.log &&
exit 1)
- name: Build JDK
uses: mucommander/jdk/.github/actions/do-build@refs/heads/master
with:
Expand Down

0 comments on commit 8174758

Please sign in to comment.