Skip to content

Commit

Permalink
Update build actions to exiv2 v0.27.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-easterbrook committed May 18, 2023
1 parent 883cd00 commit eb47610
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-macos-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:

- name: Download libexiv2
run: |
wget -nv https://github.com/Exiv2/exiv2/releases/download/v0.27.6/exiv2-0.27.6-Source.tar.gz
tar xf exiv2-0.27.6-Source.tar.gz
wget -nv https://github.com/Exiv2/exiv2/releases/download/v0.27.7/exiv2-0.27.7-Source.tar.gz
tar xf exiv2-0.27.7-Source.tar.gz
- name: Make directories
run: |
mkdir exiv2-0.27.6-Source/build
mkdir exiv2-0.27.7-Source/build
mkdir $EXIV2_ROOT
- name: Build wheels
Expand All @@ -27,8 +27,8 @@ jobs:
CIBW_SKIP: pp3?-*
CIBW_BEFORE_ALL: >
brew install ninja &&
pip3 install conan==1.54.0 &&
cd exiv2-0.27.6-Source/build &&
pip3 install conan==1.59.0 &&
cd exiv2-0.27.7-Source/build &&
conan profile new --detect default &&
conan install .. -o unitTests=False -b missing -pr:b=default -s arch=armv8 &&
cmake .. -DCMAKE_BUILD_TYPE=Release \
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ jobs:

- name: Download libexiv2
run: |
wget -nv https://github.com/Exiv2/exiv2/releases/download/v0.27.6/exiv2-0.27.6-Source.tar.gz
tar xf exiv2-0.27.6-Source.tar.gz
# cp conanfile.py exiv2-0.27.6-Source/
wget -nv https://github.com/Exiv2/exiv2/releases/download/v0.27.7/exiv2-0.27.7-Source.tar.gz
tar xf exiv2-0.27.7-Source.tar.gz
- name: Make directories
run: |
mkdir exiv2-0.27.6-Source/build
mkdir exiv2-0.27.7-Source/build
mkdir $EXIV2_ROOT
- name: Build wheels
Expand All @@ -28,8 +27,8 @@ jobs:
CIBW_SKIP: pp3?-*
CIBW_BEFORE_ALL: >
brew install ninja &&
pip3 install conan==1.53.0 &&
cd exiv2-0.27.6-Source/build &&
pip3 install conan==1.59.0 &&
cd exiv2-0.27.7-Source/build &&
conan profile new --detect default &&
conan install .. -o unitTests=False -b missing &&
cmake .. -DCMAKE_BUILD_TYPE=Release \
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-manylinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:

- name: Download libexiv2
run: |
wget -nv https://github.com/Exiv2/exiv2/releases/download/v0.27.6/exiv2-0.27.6-Source.tar.gz
tar xf exiv2-0.27.6-Source.tar.gz
wget -nv https://github.com/Exiv2/exiv2/releases/download/v0.27.7/exiv2-0.27.7-Source.tar.gz
tar xf exiv2-0.27.7-Source.tar.gz
- name: Build wheels
uses: pypa/cibuildwheel@v2.11.2
Expand All @@ -23,7 +23,7 @@ jobs:
CIBW_BUILD: cp*-manylinux_x86_64
CIBW_BEFORE_ALL: >
yum install -y zlib-devel expat-devel gettext-devel &&
cd exiv2-0.27.6-Source &&
cd exiv2-0.27.7-Source &&
mkdir build &&
cd build &&
cmake .. -DCMAKE_BUILD_TYPE=Release \
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
uses: actions/checkout@v3

- name: Download Exiv2 source
run: wget -nv https://github.com/Exiv2/exiv2/releases/download/v0.27.6/exiv2-0.27.6-Source.tar.gz
run: wget -nv https://github.com/Exiv2/exiv2/releases/download/v0.27.7/exiv2-0.27.7-Source.tar.gz

- name: Store downloaded file
uses: actions/upload-artifact@v3
Expand All @@ -34,8 +34,8 @@ jobs:
- name: Extract Exiv2 source
shell: bash
run: |
tar xf exiv2-0.27.6-Source.tar.gz
mv exiv2-0.27.6-Source exiv2-Source
tar xf exiv2-0.27.7-Source.tar.gz
mv exiv2-0.27.7-Source exiv2-Source
- name: Make directories
working-directory: ./exiv2-Source
Expand All @@ -47,7 +47,7 @@ jobs:
working-directory: ./exiv2-Source/build
run: |
pip install --disable-pip-version-check wheel
pip install --disable-pip-version-check conan==1.54.0
pip install --disable-pip-version-check conan==1.59.0
conan install .. -o unitTests=False -o iconv=True -b missing
- name: Configure build
Expand Down

0 comments on commit eb47610

Please sign in to comment.