From 0964893ddc28ca43cf7c88e3e5680deb5222bc25 Mon Sep 17 00:00:00 2001 From: George Lemon Date: Fri, 22 Nov 2024 21:18:30 +0200 Subject: [PATCH 1/4] Update test.yml --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 30fed8f..c2317b0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,7 @@ jobs: mkdir build && cd build cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=14 -G Ninja cmake --build . - sudo mv libblend2d.so /usr/local/lib cd ../../.. + - run: sudo mv /home/runner/work/blend2d-nim/blend2d-nim/src/blend2d/bindings/blend2d_source/build/libblend2d.so /usr/local/lib - run: nimble install -Y - - run: nimble test \ No newline at end of file + - run: nimble test From 1f85f3b3f2430b0451090cc61604eade860516d5 Mon Sep 17 00:00:00 2001 From: George Lemon Date: Fri, 22 Nov 2024 21:25:28 +0200 Subject: [PATCH 2/4] Update test.yml --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c2317b0..fe1e6bf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,6 +36,7 @@ jobs: cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=14 -G Ninja cmake --build . cd ../../.. - - run: sudo mv /home/runner/work/blend2d-nim/blend2d-nim/src/blend2d/bindings/blend2d_source/build/libblend2d.so /usr/local/lib + - run: 'LD_LIBRARY_PATH=/usr/local/lib' + - run: 'sudo mv /home/runner/work/blend2d-nim/blend2d-nim/src/blend2d/bindings/blend2d_source/build/libblend2d.so /usr/local/lib' - run: nimble install -Y - run: nimble test From c1ef40bb400f972e3a72ea589b3cab2168ba4e81 Mon Sep 17 00:00:00 2001 From: George Lemon Date: Fri, 22 Nov 2024 21:30:40 +0200 Subject: [PATCH 3/4] Update test.yml --- .github/workflows/test.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fe1e6bf..284c870 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,7 +36,12 @@ jobs: cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=14 -G Ninja cmake --build . cd ../../.. - - run: 'LD_LIBRARY_PATH=/usr/local/lib' - - run: 'sudo mv /home/runner/work/blend2d-nim/blend2d-nim/src/blend2d/bindings/blend2d_source/build/libblend2d.so /usr/local/lib' + - run: | + LD_LIBRARY_PATH=/usr/local/lib + sudo apt install ldconfig + sudo ldconfig + - run: | + ls /home/runner/work/blend2d-nim/blend2d-nim/src/blend2d/bindings/blend2d_source/build/ + sudo mv /home/runner/work/blend2d-nim/blend2d-nim/src/blend2d/bindings/blend2d_source/build/libblend2d.so /usr/local/lib - run: nimble install -Y - run: nimble test From 3653c0d7a9221a6fef4840903e68f85dfd421490 Mon Sep 17 00:00:00 2001 From: George Lemon Date: Fri, 22 Nov 2024 21:34:09 +0200 Subject: [PATCH 4/4] Update test.yml this is boring --- .github/workflows/test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 284c870..f03ecdb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,7 +38,6 @@ jobs: cd ../../.. - run: | LD_LIBRARY_PATH=/usr/local/lib - sudo apt install ldconfig sudo ldconfig - run: | ls /home/runner/work/blend2d-nim/blend2d-nim/src/blend2d/bindings/blend2d_source/build/