@@ -58,16 +58,13 @@ jobs:
5858 run : conan create gnustep-gui --profile:a=${{ github.workspace }}/profiles/windows-clang
5959 - name : Install gnustep-headless
6060 run : conan create gnustep-headless --profile:a=${{ github.workspace }}/profiles/windows-clang
61- - name : Install gnustep-cmake
62- run : conan create gnustep-cmake --profile:a=${{ github.workspace }}/profiles/windows-clang
6361 - name : Build tutorial
6462 run : |
6563 conan install conanfile.txt --profile:a=../profiles/windows-clang --output-folder=build/ --conf="tools.env.virtualenv:powershell=pwsh.exe"
66- cd build/
67- cmake .. -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -GNinja
68- cmake --build .
69- ./conanrun.ps1
70- ./Tutorial.exe
64+ cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -GNinja
65+ cmake --build build
66+ ./build/conanrun.ps1
67+ ./build/Tutorial.exe
7168 working-directory : tutorial/
7269 - name : Upload Conan packages to Cloudsmith
7370 run : |
@@ -180,16 +177,13 @@ jobs:
180177 if : matrix.family == 'rhel'
181178 - name : Install gnustep-headless
182179 run : .python3/bin/conan create gnustep-headless --profile:a=profiles/linux-clang
183- - name : Install gnustep-cmake
184- run : .python3/bin/conan create gnustep-cmake --profile:a=profiles/linux-clang
185180 - name : Build tutorial
186181 run : |
187182 ../.python3/bin/conan install conanfile.txt --profile:a=../profiles/linux-clang --output-folder=build/
188- cd build/
189- CC=clang CXX=clang++ LDFLAGS="-fuse-ld=lld" cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
190- cmake --build .
191- . ./conanrun.sh
192- ./Tutorial
183+ CC=clang CXX=clang++ LDFLAGS="-fuse-ld=lld" cmake -S. -B build/ -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
184+ cmake --build build
185+ . build/conanrun.sh
186+ ./build/Tutorial
193187 working-directory : tutorial/
194188 - uses : actions/upload-artifact@v4
195189 if : always()
0 commit comments