Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jkriege2 committed May 8, 2024
1 parent 808a4ce commit 4f8b548
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
include:
- {gen: Unix Makefiles, shared: ON, ccompiler: gcc, cxxcompiler: g++}
- {gen: Unix Makefiles, shared: OFF, ccompiler: gcc, cxxcompiler: g++}
- {gen: Unix Makefiles, shared: ON, ccompiler: clang, cxxcompiler: clang}
- {gen: Unix Makefiles, shared: OFF, ccompiler: clang, cxxcompiler: clang}
- {gen: Unix Makefiles, shared: ON, ccompiler: clang, cxxcompiler: clang++}
- {gen: Unix Makefiles, shared: OFF, ccompiler: clang, cxxcompiler: clang++}
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -39,18 +39,18 @@ jobs:
run: |
cd tests
cd extcmake_tinytiff_test
md build
mkdir build
cd build
cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} "-DCMAKE_PREFIX_PATH=${{github.workspace}}/install/" -B . -S ..
cmake -G "${{matrix.gen}}" "-DCMAKE_PREFIX_PATH=${{github.workspace}}/install/" -DCMAKE_CXX_COMPILER=${{matrix.cxxcompiler}} -DCMAKE_C_COMPILER=${{matrix.ccompiler}} -B . -S ..
cmake --build . --config Release --verbose
- name: Test CMake-build against TinyTIFF, using FetchContent-API
if: success() || failure() # always run even if the previous step fails
run: |
cd tests
cd extcmake_fetchcontent_tinytiff_test
md build
mkdir build
cd build
cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -B . -S ..
cmake -G "${{matrix.gen}}" -DCMAKE_CXX_COMPILER=${{matrix.cxxcompiler}} -DCMAKE_C_COMPILER=${{matrix.ccompiler}} -B . -S ..
cmake --build . --config Release --verbose
- name: Run Release tests
Expand All @@ -59,8 +59,9 @@ jobs:
cd bin
pwd
ls
.\tinytiffwriter_test --simple
.\tinytiffreader_test --simple
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{github.workspace}}/install/lib/
./tinytiffwriter_test --simple
./tinytiffreader_test --simple
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure() # always run even if the previous step fails
Expand Down

0 comments on commit 4f8b548

Please sign in to comment.