Skip to content

Commit 34eca84

Browse files
committed
macos-14 test
1 parent 3538907 commit 34eca84

File tree

1 file changed

+5
-45
lines changed

1 file changed

+5
-45
lines changed

.github/workflows/macos-14-arm.yml

Lines changed: 5 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ permissions:
1010
jobs:
1111
macOS:
1212
if: github.repository == 'darktable-org/darktable' || github.event_name == 'workflow_dispatch'
13-
name: macOS 14 ARM Test
13+
name: Nightly darktable macOS
1414
runs-on: ${{ matrix.build.os }}
1515
strategy:
1616
fail-fast: true
1717
matrix:
1818
build:
19-
- { os: macos-14, xcode: 15.3, deployment: 13.5 }
19+
- { os: macos-14, xcode: 16.2, deployment: 14.0 } # LLVM16, arm64
2020
compiler:
2121
- { compiler: XCode, CC: cc, CXX: c++ }
2222
btype: [ Release ]
@@ -38,17 +38,11 @@ jobs:
3838
GENERATOR: ${{ matrix.generator }}
3939
TARGET: ${{ matrix.target }}
4040
steps:
41-
- name: OS Version
42-
run: |
43-
uname -m
44-
- name: Applications folder
45-
run: |
46-
ls -l /Applications
4741
- name: Checkout darktable master branch
4842
run: |
4943
# Note that we can't make a shallow clone to reduce clone traffic and time, as we have to
5044
# fetch the entire history to correctly generate the version for the disk image filename
51-
git clone https://github.com/darktable-org/darktable src
45+
git clone -b ${{ github.ref_name }} https://github.com/${{ github.repository }} src
5246
pushd src
5347
git submodule init
5448
git config submodule.src/tests/integration.update none
@@ -57,51 +51,17 @@ jobs:
5751
- name: Install Base Dependencies
5852
run: |
5953
brew update > /dev/null || true
60-
# brew upgrade || true # No need for a very time-consuming upgrade of ALL packages
61-
brew install gd
62-
brew tap Homebrew/bundle
6354
cd src/.ci
6455
export HOMEBREW_NO_INSTALL_UPGRADE=1
6556
brew bundle --verbose || true
6657
# handle keg-only libs
6758
brew link --force libomp
68-
brew link --force libsoup@2
59+
brew link --force libsoup
6960
- name: Cancel workflow if job fails
7061
if: ${{ failure() }}
71-
uses: andymckay/cancel-action@0.3
62+
uses: andymckay/cancel-action@0.5
7263
- name: Build and Install
73-
# todo: use linker which supports --wrap, ld.bfd and ld.gold support it
7464
run: |
7565
cmake -E make_directory "${BUILD_DIR}";
7666
cmake -E make_directory "${INSTALL_PREFIX}";
7767
./src/.ci/ci-script.sh;
78-
- name: Check if it runs
79-
run: |
80-
${INSTALL_PREFIX}/bin/darktable --version || true
81-
${INSTALL_PREFIX}/bin/darktable-cli \
82-
--width 2048 --height 2048 \
83-
--hq true --apply-custom-presets false \
84-
"${SRC_DIR}/src/tests/integration/images/mire1.cr2" \
85-
"${SRC_DIR}/src/tests/integration/0000-nop/nop.xmp" \
86-
output.png \
87-
--core --disable-opencl --conf host_memory_limit=8192 \
88-
--conf worker_threads=4 -t 4 \
89-
--conf plugins/lighttable/export/force_lcms2=FALSE \
90-
--conf plugins/lighttable/export/iccintent=0
91-
- name: Build macOS package
92-
run: |
93-
./src/packaging/macosx/3_make_hb_darktable_package.sh
94-
- name: Create DMG file
95-
run: |
96-
./src/packaging/macosx/4_make_hb_darktable_dmg.sh
97-
- name: Get version info
98-
run: |
99-
cd ${{ env.SRC_DIR }}
100-
echo "VERSION=$(git describe --tags --match release-* | sed 's/^release-//;s/-/+/;s/-/~/;s/rc/~rc/')-$(uname -m)" >> $GITHUB_ENV
101-
- name: Package upload
102-
if: ${{ success() }}
103-
uses: actions/upload-artifact@v4
104-
with:
105-
path: ${{ env.INSTALL_PREFIX }}/darktable-${{ env.VERSION }}.dmg
106-
name: artifact-macos
107-
retention-days: 2

0 commit comments

Comments
 (0)