forked from apache/daffodil
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- which is the latest stable version. They only support the last two stable versions, so we should be good for a while - add step to install sbt since later version of the runner image don't include it - had to mxml build from source since macos-14 is Apple Silicon mac and by default brew installs to /opt/homebrew/include, which isn't on the cc search path. Attempts to add the path other ways (-I or CPATH) proved unsuccessful DAFFODIL-2952
- Loading branch information
1 parent
357f224
commit 7ead3cb
Showing
1 changed file
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,14 +41,14 @@ jobs: | |
java_distribution: [ temurin ] | ||
java_version: [ 8, 11, 17, 21 ] | ||
scala_version: [ 2.12.20 ] | ||
os: [ ubuntu-22.04, windows-2022, macos-12 ] | ||
os: [ ubuntu-22.04, windows-2022, macos-14 ] | ||
exclude: | ||
# only run macos on java 17 | ||
- os: macos-12 | ||
- os: macos-14 | ||
java_version: 8 | ||
- os: macos-12 | ||
- os: macos-14 | ||
java_version: 11 | ||
- os: macos-12 | ||
- os: macos-14 | ||
java_version: 21 | ||
include: | ||
# configure shell/cc/ar for all OSes | ||
|
@@ -60,7 +60,7 @@ jobs: | |
shell: msys2 {0} | ||
env_cc: clang | ||
env_ar: llvm-ar | ||
- os: macos-12 | ||
- os: macos-14 | ||
shell: bash | ||
env_cc: cc | ||
env_ar: ar | ||
|
@@ -103,11 +103,23 @@ jobs: | |
############################################################ | ||
|
||
- name: Install Dependencies (macOS) | ||
if: runner.os == 'macOS' | ||
run: brew install sbt | ||
|
||
- name: Check out mxml source (macOS) | ||
if: runner.os == 'macOS' | ||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | ||
with: | ||
repository: michaelrsweet/mxml | ||
ref: v3.3 | ||
path: mxml | ||
|
||
- name: Install mxml library (macOS) | ||
if: runner.os == 'macOS' | ||
run: | | ||
brew tap-new local/libmxml | ||
brew extract --version 3.3.1 libmxml local/libmxml | ||
brew install [email protected] | ||
cd mxml | ||
./configure | ||
sudo make install | ||
- name: Install Dependencies (Linux) | ||
if: runner.os == 'Linux' | ||
|