From b19657412228754117373288920ba31e3927f3f0 Mon Sep 17 00:00:00 2001 From: omerfuyar Date: Sat, 15 Nov 2025 03:41:29 +0200 Subject: [PATCH 1/3] -smallfix due to file names on windows --- .github/workflows/ci.yml | 6 +++--- README.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afc9959..1f9525f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,16 +82,16 @@ jobs: mv Code-Romeo Code-Juliett/dependencies/Romeo shell: bash - - name: Build shuildJuliett + - name: Build ShuildJuliett working-directory: Code-Juliett run: | - ${{ matrix.c_compiler }} shuildJuliett.c -O3 -o shuildJuliett${{ runner.os == 'Windows' && '.exe' || '' }} + ${{ matrix.c_compiler }} ShuildJuliett.c -O3 -o ShuildJuliett${{ runner.os == 'Windows' && '.exe' || '' }} shell: bash - name: Build Code-Juliett working-directory: Code-Juliett run: | - ./shuildJuliett${{ runner.os == 'Windows' && '.exe' || '' }} ${{ matrix.c_compiler }} ${{ matrix.build_type }} all + ./ShuildJuliett${{ runner.os == 'Windows' && '.exe' || '' }} ${{ matrix.c_compiler }} ${{ matrix.build_type }} all shell: bash - name: Run graphical app diff --git a/README.md b/README.md index 62cbfc3..3227358 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,9 @@ sudo apt install libwayland-dev libxkbcommon-dev wayland-protocols libx11-dev li ## Build -* Project uses my own [build library](https://github.com/omerfuyar/shuild) to build all sub dependencies. User just needs to compile the shuildRomeo.c to build static libraries into build/release/. I will use clang for examples but you can use your own (clang/gcc/msvc). +* Project uses my own [build library](https://github.com/omerfuyar/shuild) to build all sub dependencies. User just needs to compile the ShuildRomeo.c to build static libraries into build/release/. I will use clang for examples but you can use your own (clang/gcc/msvc). ``` shell -clang shuildRomeo.c -o shuildRomeo -O3 -./shuildRomeo clang r +clang ShuildRomeo.c -o ShuildRomeo -O3 +./ShuildRomeo clang r ``` From 041d6727a6de1f7813f68fd05eb79bcda8ff50bc Mon Sep 17 00:00:00 2001 From: omerfuyar Date: Sat, 15 Nov 2025 03:42:59 +0200 Subject: [PATCH 2/3] -ci fix --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f9525f..502b8c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,18 +97,19 @@ jobs: - name: Run graphical app working-directory: Code-Juliett run: | + BUILD_DIR="${{ matrix.build_type == 'd' && 'debug' || 'release' }}" if [ "$RUNNER_OS" == "Linux" ]; then - xvfb-run -a --server-args="-screen 0 1024x768x24" build/${{ matrix.build_type }}/Code-Juliett & + xvfb-run -a --server-args="-screen 0 1024x768x24" build/$BUILD_DIR/Code-Juliett & APP_PID=$! sleep 5 kill $APP_PID elif [ "$RUNNER_OS" == "macOS" ]; then - build/${{ matrix.build_type }}/Code-Juliett & + build/$BUILD_DIR/Code-Juliett & APP_PID=$! sleep 5 kill $APP_PID elif [ "$RUNNER_OS" == "Windows" ]; then - ./build/${{ matrix.build_type }}/Code-Juliett.exe & + ./build/$BUILD_DIR/Code-Juliett.exe & APP_PID=$! sleep 5 taskkill /F /PID $APP_PID From b69c3cdd0d8f2f0602f88e509151fc28a71f907c Mon Sep 17 00:00:00 2001 From: omerfuyar Date: Sat, 15 Nov 2025 03:46:39 +0200 Subject: [PATCH 3/3] -idk what Im doing --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 502b8c0..062d9a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,20 +98,20 @@ jobs: working-directory: Code-Juliett run: | BUILD_DIR="${{ matrix.build_type == 'd' && 'debug' || 'release' }}" - if [ "$RUNNER_OS" == "Linux" ]; then + if [ "${{ runner.os }}" == "Linux" ]; then xvfb-run -a --server-args="-screen 0 1024x768x24" build/$BUILD_DIR/Code-Juliett & APP_PID=$! sleep 5 kill $APP_PID - elif [ "$RUNNER_OS" == "macOS" ]; then + elif [ "${{ runner.os }}" == "macOS" ]; then build/$BUILD_DIR/Code-Juliett & APP_PID=$! sleep 5 kill $APP_PID - elif [ "$RUNNER_OS" == "Windows" ]; then - ./build/$BUILD_DIR/Code-Juliett.exe & + elif [ "${{ runner.os }}" == "Windows" ]; then + build/$BUILD_DIR/Code-Juliett.exe & APP_PID=$! sleep 5 - taskkill /F /PID $APP_PID + taskkill //F //PID $APP_PID fi shell: bash \ No newline at end of file