Skip to content

Instantly share code, notes, and snippets.

@KelSolaar
Created September 18, 2019 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KelSolaar/e3ea91b9d60bcc8a56ca7d4f725532a4 to your computer and use it in GitHub Desktop.
Save KelSolaar/e3ea91b9d60bcc8a56ca7d4f725532a4 to your computer and use it in GitHub Desktop.
A.R.T. - Artifact
name: A.R.T. - Artifact
on: [push]
jobs:
build:
runs-on: macOS-10.14
steps:
- name: Install Homebrew
run: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null
- name: Install Package Dependencies
run: brew install GSL jpeg libtiff little-cms2 openexr openjpeg
- name: Clone Repository
run: git clone git://cgg.mff.cuni.cz/ART.git
- name: Patch Tiff Include
run: |
sudo sed -i -e '78d' /Library/Frameworks/Mono.framework/Headers/tiff.h
- name: Configure Package
run: |
cd ART
git checkout 2.0.4
mkdir build
cd build
cmake .. -G Xcode -DCMAKE_INSTALL_PREFIX=./release
- name: Build Package
run: |
cd ART/build
cmake --build . --target install --config Release
- uses: actions/upload-artifact@master
with:
name: ART-2.0.4
path: ART/build/release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment