Skip to content

Commit 1087ce7

Browse files
fix: remove Ninja generator from CMake configuration in release and verify workflows
1 parent 52a1cb7 commit 1087ce7

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
sudo apt-get update
2020
sudo apt-get install -y build-essential cmake g++-14 ninja-build libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev
2121
- name: Configure CMake
22-
run: cmake -B ${{ github.workspace }}/build -S . -G Ninja -DCMAKE_BUILD_TYPE=Release
22+
run: cmake -B ${{ github.workspace }}/build -S . -DCMAKE_BUILD_TYPE=Release
2323
env:
2424
CXX: g++-14
2525
- name: Build Target
@@ -38,12 +38,12 @@ jobs:
3838
- name: Checkout repository
3939
uses: actions/checkout@v6
4040
- name: Configure CMake
41-
run: cmake -B ${{ github.workspace }}/build -S . -G Ninja -DCMAKE_BUILD_TYPE=Release
41+
run: cmake -B ${{ github.workspace }}\xbuild -S . -DCMAKE_BUILD_TYPE=Release
4242
- name: Build Target
43-
run: cmake --build ${{ github.workspace }}/build --config Release
43+
run: cmake --build ${{ github.workspace }}\build --config Release
4444
- name: Package Asset
4545
shell: pwsh
46-
run: Compress-Archive -Path "${{ github.workspace }}/build/Release/vectorjs.exe" -DestinationPath "vectorjs-windows.zip"
46+
run: Compress-Archive -Path "${{ github.workspace }}\build\Release\vectorjs.exe" -DestinationPath "vectorjs-windows.zip"
4747
- name: Upload Binary to Release
4848
uses: softprops/action-gh-release@v2
4949
with:
@@ -58,7 +58,7 @@ jobs:
5858
- name: Install Ninja
5959
run: brew install ninja
6060
- name: Configure CMake
61-
run: cmake -B ${{ github.workspace }}/build -S . -G Ninja -DCMAKE_BUILD_TYPE=Release
61+
run: cmake -B ${{ github.workspace }}/build -S . -DCMAKE_BUILD_TYPE=Release
6262
- name: Build Target
6363
run: cmake --build ${{ github.workspace }}/build --config Release
6464
- name: Package Asset

.github/workflows/verify.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
sudo apt-get update
2222
sudo apt-get install -y build-essential cmake g++-14 ninja-build libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev
2323
- name: Configure CMake
24-
run: cmake -B ${{ github.workspace }}/build -S . -G Ninja -DCMAKE_BUILD_TYPE=Release
24+
run: cmake -B ${{ github.workspace }}/build -S . -DCMAKE_BUILD_TYPE=Release
2525
env:
2626
CXX: g++-14
2727
- name: Build Target
@@ -36,12 +36,12 @@ jobs:
3636
- name: Checkout repository
3737
uses: actions/checkout@v6
3838
- name: Configure CMake
39-
run: cmake -B ${{ github.workspace }}/build -S . -G Ninja -DCMAKE_BUILD_TYPE=Release
39+
run: cmake -B ${{ github.workspace }}\build -S . -DCMAKE_BUILD_TYPE=Release
4040
- name: Build Target
41-
run: cmake --build ${{ github.workspace }}/build --config Release
41+
run: cmake --build ${{ github.workspace }}\build --config Release
4242
- name: Verify Executable Production
4343
shell: pwsh
44-
run: Test-Path "${{ github.workspace }}/build/Release/vectorjs.exe"
44+
run: Test-Path "${{ github.workspace }}\build\Release\vectorjs.exe"
4545

4646
verify-mac:
4747
name: Verify on macOS
@@ -52,7 +52,7 @@ jobs:
5252
- name: Install Ninja
5353
run: brew install ninja
5454
- name: Configure CMake
55-
run: cmake -B ${{ github.workspace }}/build -S . -G Ninja -DCMAKE_BUILD_TYPE=Release
55+
run: cmake -B ${{ github.workspace }}/build -S . -DCMAKE_BUILD_TYPE=Release
5656
- name: Build Target
5757
run: cmake --build ${{ github.workspace }}/build --config Release
5858
- name: Verify Executable Production

0 commit comments

Comments
 (0)