Created
September 18, 2019 10:24
-
-
Save KelSolaar/e3ea91b9d60bcc8a56ca7d4f725532a4 to your computer and use it in GitHub Desktop.
A.R.T. - Artifact
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
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