From 62400fe3cca389d13f3343fcef57fe861fdd2ade Mon Sep 17 00:00:00 2001 From: Panagiotis Gourgaris Date: Thu, 16 Dec 2021 08:54:09 +0200 Subject: [PATCH 1/7] Missed that --- .github/workflows/c-cpp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 6908f74..6ca081c 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -13,8 +13,8 @@ jobs: steps: - uses: actions/checkout@v2 - - name: configure - run: ./configure +# - name: configure +# run: ./configure - name: make flatbuffer generated files run: make flat - name: make release From b0c12bcd072da42809280679cc5fdf292402187f Mon Sep 17 00:00:00 2001 From: Panagiotis Gourgaris Date: Thu, 16 Dec 2021 09:00:00 +0200 Subject: [PATCH 2/7] Perhaps installing flatc is required --- .github/workflows/c-cpp.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 6ca081c..052222b 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -13,8 +13,10 @@ jobs: steps: - uses: actions/checkout@v2 -# - name: configure -# run: ./configure + - name: configure + run: | + sudo apt update + sudo apt install -y flatbuffers-compiler - name: make flatbuffer generated files run: make flat - name: make release From 4817b577c6336c13178bcd06ce338cc98e8ae053 Mon Sep 17 00:00:00 2001 From: Panagiotis Gourgaris Date: Thu, 16 Dec 2021 09:02:29 +0200 Subject: [PATCH 3/7] Install conan and check cmake --- .github/workflows/c-cpp.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 052222b..0bef9f0 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -17,6 +17,8 @@ jobs: run: | sudo apt update sudo apt install -y flatbuffers-compiler + pip install conan + cmake --version - name: make flatbuffer generated files run: make flat - name: make release From e5a1aea71afbbe968581f66eca9907faccf9a213 Mon Sep 17 00:00:00 2001 From: Panagiotis Gourgaris Date: Thu, 16 Dec 2021 09:09:29 +0200 Subject: [PATCH 4/7] fixing conan profiles --- .github/workflows/c-cpp.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 0bef9f0..3c82d6b 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -18,7 +18,24 @@ jobs: sudo apt update sudo apt install -y flatbuffers-compiler pip install conan - cmake --version + conan profile new ~/.conan/profiles/release --detect + conan profile update settings.os=Linux ~/.conan/profiles/release + conan profile update settings.os_build=Linux ~/.conan/profiles/release + conan profile update settings.arch=x86_64 ~/.conan/profiles/release + conan profile update settings.arch_build=x86_64 ~/.conan/profiles/release + conan profile update settings.compiler=gcc ~/.conan/profiles/release + conan profile update settings.compiler.version=9 ~/.conan/profiles/release + conan profile update settings.compiler.libcxx=libstdc++11 ~/.conan/profiles/release + conan profile update settings.build_type=Debug ~/.conan/profiles/release + conan profile new ~/.conan/profiles/debug --detect + conan profile update settings.os=Linux ~/.conan/profiles/debug + conan profile update settings.os_build=Linux ~/.conan/profiles/debug + conan profile update settings.arch=x86_64 ~/.conan/profiles/debug + conan profile update settings.arch_build=x86_64 ~/.conan/profiles/debug + conan profile update settings.compiler=gcc ~/.conan/profiles/debug + conan profile update settings.compiler.version=9 ~/.conan/profiles/debug + conan profile update settings.compiler.libcxx=libstdc++11 ~/.conan/profiles/debug + conan profile update settings.build_type=Debug ~/.conan/profiles/debug - name: make flatbuffer generated files run: make flat - name: make release From d838024ff1672dda14fab5a9a004488b17af3533 Mon Sep 17 00:00:00 2001 From: Panagiotis Gourgaris Date: Thu, 16 Dec 2021 09:14:17 +0200 Subject: [PATCH 5/7] Perhaps the default is only used? --- .github/workflows/c-cpp.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 3c82d6b..22bdaad 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -27,15 +27,14 @@ jobs: conan profile update settings.compiler.version=9 ~/.conan/profiles/release conan profile update settings.compiler.libcxx=libstdc++11 ~/.conan/profiles/release conan profile update settings.build_type=Debug ~/.conan/profiles/release - conan profile new ~/.conan/profiles/debug --detect - conan profile update settings.os=Linux ~/.conan/profiles/debug - conan profile update settings.os_build=Linux ~/.conan/profiles/debug - conan profile update settings.arch=x86_64 ~/.conan/profiles/debug - conan profile update settings.arch_build=x86_64 ~/.conan/profiles/debug - conan profile update settings.compiler=gcc ~/.conan/profiles/debug - conan profile update settings.compiler.version=9 ~/.conan/profiles/debug - conan profile update settings.compiler.libcxx=libstdc++11 ~/.conan/profiles/debug - conan profile update settings.build_type=Debug ~/.conan/profiles/debug + conan profile update settings.os=Linux default + conan profile update settings.os_build=Linux default + conan profile update settings.arch=x86_64 default + conan profile update settings.arch_build=x86_64 default + conan profile update settings.compiler=gcc default + conan profile update settings.compiler.version=9 default + conan profile update settings.compiler.libcxx=libstdc++11 default + conan profile update settings.build_type=Debug default - name: make flatbuffer generated files run: make flat - name: make release From d63e3156750ea9808056a96d266a609a0c1fd541 Mon Sep 17 00:00:00 2001 From: Panagiotis Gourgaris Date: Thu, 16 Dec 2021 09:16:28 +0200 Subject: [PATCH 6/7] I am perplexed --- .github/workflows/c-cpp.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 22bdaad..4b72d0d 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -27,14 +27,6 @@ jobs: conan profile update settings.compiler.version=9 ~/.conan/profiles/release conan profile update settings.compiler.libcxx=libstdc++11 ~/.conan/profiles/release conan profile update settings.build_type=Debug ~/.conan/profiles/release - conan profile update settings.os=Linux default - conan profile update settings.os_build=Linux default - conan profile update settings.arch=x86_64 default - conan profile update settings.arch_build=x86_64 default - conan profile update settings.compiler=gcc default - conan profile update settings.compiler.version=9 default - conan profile update settings.compiler.libcxx=libstdc++11 default - conan profile update settings.build_type=Debug default - name: make flatbuffer generated files run: make flat - name: make release From 65c67b8d9d0a37f43f7f9c9839c65091665d2929 Mon Sep 17 00:00:00 2001 From: Panagiotis Gourgaris Date: Thu, 16 Dec 2021 09:20:42 +0200 Subject: [PATCH 7/7] Desperately trying anything now --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 43640f7..ec37842 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ build-release: mkdir -p cmake-build-release cd cmake-build-release && conan install -pr release .. cd cmake-build-release && cmake -DCMAKE_BUILD_TYPE=Release .. - cd cmake-build-release && cmake --build . -- -j 4 + cd cmake-build-release && cmake --build . cd cmake-build-release/bin && conan info ../.. --graph=dependency_graph.html lb-down: