-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (48 loc) · 1.73 KB
/
macos_aarch64.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: macOS-aarch64
on:
workflow_dispatch:
jobs:
build:
runs-on: macos-14
steps:
- name: Checkout JRE repository
uses: actions/checkout@v4
- name: Checkout JDK repository
uses: actions/checkout@v4
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:
platform: macos-aarch64
make-target: images