Skip to content

Commit

Permalink
fix(ci) date dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
hassec committed Aug 22, 2022
1 parent 743c309 commit 00afe0a
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 10 deletions.
29 changes: 28 additions & 1 deletion .github/workflows/nightly_Linux_distributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,39 @@ jobs:
container:
image: ${{ matrix.container_image }}
env:
CMAKE_FLAGS: -DEXIV2_TEAM_EXTRA_WARNINGS=OFF -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_CURL=ON -DEXIV2_BUILD_UNIT_TESTS=OFF -DEXIV2_ENABLE_BMFF=ON -DEXIV2_TEAM_WARNINGS_AS_ERRORS=OFF -DEXIV2_ENABLE_PNG=ON -DCMAKE_INSTALL_PREFIX=install -DCONAN_AUTO_INSTALL=ON
CMAKE_FLAGS: -DEXIV2_TEAM_EXTRA_WARNINGS=OFF -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_CURL=ON -DEXIV2_BUILD_UNIT_TESTS=OFF -DEXIV2_ENABLE_BMFF=ON -DEXIV2_TEAM_WARNINGS_AS_ERRORS=OFF -DEXIV2_ENABLE_PNG=ON -DCMAKE_INSTALL_PREFIX=install

steps:
- uses: actions/checkout@v3

- name: install dependencies
run: ./ci/install_dependencies.sh

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.7'

- run: pip install conan==1.51.0

- name: Restore Conan cache
uses: actions/cache@v2
with:
path: ${{github.workspace}}/conanCache
key: Nightly-${{runner.os}}-${{matrix.container_image}}-${{matrix.build_type}}-${{ hashFiles('conanfile.py') }}

- name: Conan common config
run: |
conan profile new --detect default
conan profile update settings.build_type=${{matrix.build_type}} default
conan profile update settings.compiler.libcxx=libstdc++11 default
- name: Run Conan
run: |
mkdir build && cd build
conan profile list
conan profile show default
conan install .. -o webready=True --build missing
- name: build and compile
run: |
mkdir build && cd build
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/on_PR_linux_fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@ jobs:
run: |
sudo ./ci/install_dependencies.sh
sudo apt-get install ninja-build
pip3 install conan==1.51.0
- name: Conan common config
run: |
conan profile new --detect default
conan profile update settings.compiler.libcxx=libstdc++11 default
- name: Run Conan
run: |
mkdir build && cd build
conan profile list
conan profile show default
conan install .. -o webready=True --build missing
- name: build and compile
run: |
Expand Down
28 changes: 19 additions & 9 deletions .github/workflows/on_PR_mac_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,26 @@ jobs:
- uses: actions/checkout@v3

- name: install dependencies
run: brew install ninja

- name: Set up Python & conan
uses: actions/setup-python@v4
with:
python-version: '3.7'

- run: pip install conan==1.51.0

- name: Conan common config
run: |
conan profile new --detect default
conan profile update settings.build_type=${{matrix.build_type}} default
- name: Run Conan
run: |
brew install ninja
pushd /tmp
curl -LO https://github.com/google/googletest/archive/release-1.8.0.tar.gz
tar xzf release-1.8.0.tar.gz
mkdir -p googletest-release-1.8.0/build
pushd googletest-release-1.8.0/build
cmake .. ; make ; make install
popd
popd
mkdir build && cd build
conan profile list
conan profile show default
conan install .. -o webready=True --build missing
- name: Build
run: |
Expand Down

0 comments on commit 00afe0a

Please sign in to comment.