Add Exiv2 to GitHub Actions workflows
This commit is contained in:
19
.github/workflows/appimage.yml
vendored
19
.github/workflows/appimage.yml
vendored
@@ -28,7 +28,21 @@ jobs:
|
|||||||
echo "Running apt update."
|
echo "Running apt update."
|
||||||
sudo apt update
|
sudo apt update
|
||||||
echo "Installing dependencies with apt."
|
echo "Installing dependencies with apt."
|
||||||
DEBIAN_FRONTEND=noninteractive sudo apt install -y cmake libgtk-3-dev libgtkmm-3.0-dev liblensfun-dev librsvg2-dev liblcms2-dev libfftw3-dev libiptcdata0-dev libtiff5-dev libcanberra-gtk3-dev liblensfun-bin
|
DEBIAN_FRONTEND=noninteractive sudo apt install -y cmake libgtk-3-dev libgtkmm-3.0-dev liblensfun-dev librsvg2-dev liblcms2-dev libfftw3-dev libiptcdata0-dev libtiff5-dev libcanberra-gtk3-dev liblensfun-bin libexpat1-dev libbrotli-dev zlib1g-dev
|
||||||
|
|
||||||
|
- name: Install Exiv2
|
||||||
|
run: |
|
||||||
|
EXIV2_VERSION='v0.27.6'
|
||||||
|
echo "Cloning Exiv2 $EXIV2_VERSION."
|
||||||
|
git clone --depth 1 --branch "$EXIV2_VERSION" https://github.com/Exiv2/exiv2.git ext/exiv2
|
||||||
|
|
||||||
|
echo "Configuring build."
|
||||||
|
mkdir ext/exiv2/build
|
||||||
|
cd ext/exiv2/build
|
||||||
|
cmake -DCMAKE_BUILD_TYPE=Release -DEXIV2_ENABLE_BMFF=ON ..
|
||||||
|
|
||||||
|
echo "Building and installing."
|
||||||
|
sudo make -j$(nproc) install
|
||||||
|
|
||||||
- name: Configure build
|
- name: Configure build
|
||||||
run: |
|
run: |
|
||||||
@@ -111,6 +125,9 @@ jobs:
|
|||||||
- name: Package AppImage
|
- name: Package AppImage
|
||||||
working-directory: ./build
|
working-directory: ./build
|
||||||
run: |
|
run: |
|
||||||
|
echo "LD_LIBRARY_PATH is '$LD_LIBRARY_PATH'. Adding /usr/local/lib."
|
||||||
|
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
|
||||||
|
|
||||||
echo "Creating artifact name."
|
echo "Creating artifact name."
|
||||||
if [ '${{github.ref_type}}' == 'tag' ]; then
|
if [ '${{github.ref_type}}' == 'tag' ]; then
|
||||||
ARTIFACT_NAME="RawTherapee_${REF_NAME_FILTERED}_${{matrix.build_type}}"
|
ARTIFACT_NAME="RawTherapee_${REF_NAME_FILTERED}_${{matrix.build_type}}"
|
||||||
|
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@@ -35,7 +35,7 @@ jobs:
|
|||||||
echo "Running apt update."
|
echo "Running apt update."
|
||||||
sudo apt update
|
sudo apt update
|
||||||
echo "Installing dependencies with apt."
|
echo "Installing dependencies with apt."
|
||||||
DEBIAN_FRONTEND=noninteractive sudo apt install -y cmake libgtk-3-dev libgtkmm-3.0-dev liblensfun-dev librsvg2-dev liblcms2-dev libfftw3-dev libiptcdata0-dev libtiff5-dev libcanberra-gtk3-dev liblensfun-bin
|
DEBIAN_FRONTEND=noninteractive sudo apt install -y cmake libgtk-3-dev libgtkmm-3.0-dev liblensfun-dev librsvg2-dev liblcms2-dev libfftw3-dev libiptcdata0-dev libtiff5-dev libcanberra-gtk3-dev liblensfun-bin libexiv2-dev
|
||||||
|
|
||||||
- name: Configure build
|
- name: Configure build
|
||||||
run: |
|
run: |
|
||||||
|
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
|||||||
mkdir build
|
mkdir build
|
||||||
date +%s > build/stamp
|
date +%s > build/stamp
|
||||||
brew uninstall --ignore-dependencies libtiff
|
brew uninstall --ignore-dependencies libtiff
|
||||||
brew install libtiff gtk+3 gtkmm3 gtk-mac-integration adwaita-icon-theme libsigc++@2 little-cms2 libiptcdata fftw lensfun expat pkgconfig llvm shared-mime-info | tee -a depslog
|
brew install libtiff gtk+3 gtkmm3 gtk-mac-integration adwaita-icon-theme libsigc++@2 little-cms2 libiptcdata fftw lensfun expat pkgconfig llvm shared-mime-info exiv2 | tee -a depslog
|
||||||
date -u
|
date -u
|
||||||
echo "----====Pourage====----"
|
echo "----====Pourage====----"
|
||||||
cat depslog | grep Pouring
|
cat depslog | grep Pouring
|
||||||
|
1
.github/workflows/windows.yml
vendored
1
.github/workflows/windows.yml
vendored
@@ -45,6 +45,7 @@ jobs:
|
|||||||
mingw-w64-x86_64-fftw
|
mingw-w64-x86_64-fftw
|
||||||
mingw-w64-x86_64-lensfun
|
mingw-w64-x86_64-lensfun
|
||||||
mingw-w64-x86_64-libiptcdata
|
mingw-w64-x86_64-libiptcdata
|
||||||
|
mingw-w64-x86_64-exiv2
|
||||||
|
|
||||||
- name: Configure build
|
- name: Configure build
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user