Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mpfaff authored Jun 9, 2024
1 parent 4d78e3c commit 9d45515
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
sudo apt install libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev libwayland-dev libxkbcommon-dev
- name: Configure library
run: cmake -B build -D GLFW_BUILD_WAYLAND=${{ matrix.wayland && "ON" || "OFF" }} -D GLFW_BUILD_X11=${{ matrix.x11 && "ON" || "OFF" }} -D BUILD_SHARED_LIBS=${{ matrix.shared && "ON" || "OFF" }}
run: cmake -B build -D GLFW_BUILD_WAYLAND=${{ matrix.wayland && 'ON' || 'OFF' }} -D GLFW_BUILD_X11=${{ matrix.x11 && 'ON' || 'OFF' }} -D BUILD_SHARED_LIBS=${{ matrix.shared && 'ON' || 'OFF' }}
- name: Build library
run: cmake --build build --parallel
- name: Upload library
Expand All @@ -55,7 +55,7 @@ jobs:
- uses: actions/checkout@v4

- name: Configure library
run: cmake -B build -D GLFW_BUILD_COCOA=${{ matrix.cocoa && "ON" || "OFF" }} -D BUILD_SHARED_LIBS=${{ matrix.shared && "ON" || "OFF" }}
run: cmake -B build -D GLFW_BUILD_COCOA=${{ matrix.cocoa && 'ON' || 'OFF' }} -D BUILD_SHARED_LIBS=${{ matrix.shared && 'ON' || 'OFF' }}
- name: Build library
run: cmake --build build --parallel
- name: Upload library
Expand All @@ -79,7 +79,7 @@ jobs:
- uses: actions/checkout@v4

- name: Configure library
run: cmake -B build -G "Visual Studio 17 2022" -A ${{ matrix.arch == "x32" && "Win32" || "x64" }} -D BUILD_SHARED_LIBS=${{ matrix.shared && "ON" || "OFF" }}
run: cmake -B build -G "Visual Studio 17 2022" -A ${{ matrix.arch == "x32" && "Win32" || "x64" }} -D BUILD_SHARED_LIBS=${{ matrix.shared && 'ON' || 'OFF' }}
- name: Build library
run: cmake --build build --parallel
- name: Upload library
Expand Down

0 comments on commit 9d45515

Please sign in to comment.