|
|
|
@ -23,12 +23,12 @@ jobs: |
|
|
|
|
sudo apt install libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev |
|
|
|
|
|
|
|
|
|
- name: Configure static library |
|
|
|
|
run: cmake -S . -B build-static |
|
|
|
|
run: cmake -B build-static |
|
|
|
|
- name: Build static library |
|
|
|
|
run: cmake --build build-static --parallel |
|
|
|
|
|
|
|
|
|
- name: Configure shared library |
|
|
|
|
run: cmake -S . -B build-shared -D BUILD_SHARED_LIBS=ON |
|
|
|
|
run: cmake -B build-shared -D BUILD_SHARED_LIBS=ON |
|
|
|
|
- name: Build shared library |
|
|
|
|
run: cmake --build build-shared --parallel |
|
|
|
|
|
|
|
|
@ -46,12 +46,12 @@ jobs: |
|
|
|
|
sudo apt install libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev wayland-protocols libwayland-dev libxkbcommon-dev |
|
|
|
|
|
|
|
|
|
- name: Configure static library |
|
|
|
|
run: cmake -S . -B build-static -D GLFW_BUILD_WAYLAND=ON |
|
|
|
|
run: cmake -B build-static -D GLFW_BUILD_WAYLAND=ON |
|
|
|
|
- name: Build static library |
|
|
|
|
run: cmake --build build-static --parallel |
|
|
|
|
|
|
|
|
|
- name: Configure shared library |
|
|
|
|
run: cmake -S . -B build-shared -D GLFW_BUILD_WAYLAND=ON -D BUILD_SHARED_LIBS=ON |
|
|
|
|
run: cmake -B build-shared -D GLFW_BUILD_WAYLAND=ON -D BUILD_SHARED_LIBS=ON |
|
|
|
|
- name: Build shared library |
|
|
|
|
run: cmake --build build-shared --parallel |
|
|
|
|
|
|
|
|
@ -65,12 +65,12 @@ jobs: |
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
|
|
|
|
|
- name: Configure static library |
|
|
|
|
run: cmake -S . -B build-static |
|
|
|
|
run: cmake -B build-static |
|
|
|
|
- name: Build static library |
|
|
|
|
run: cmake --build build-static --parallel |
|
|
|
|
|
|
|
|
|
- name: Configure shared library |
|
|
|
|
run: cmake -S . -B build-shared -D BUILD_SHARED_LIBS=ON |
|
|
|
|
run: cmake -B build-shared -D BUILD_SHARED_LIBS=ON |
|
|
|
|
- name: Build shared library |
|
|
|
|
run: cmake --build build-shared --parallel |
|
|
|
|
|
|
|
|
@ -83,12 +83,12 @@ jobs: |
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
|
|
|
|
|
- name: Configure static library |
|
|
|
|
run: cmake -S . -B build-static -G "Visual Studio 17 2022" |
|
|
|
|
run: cmake -B build-static -G "Visual Studio 17 2022" |
|
|
|
|
- name: Build static library |
|
|
|
|
run: cmake --build build-static --parallel |
|
|
|
|
|
|
|
|
|
- name: Configure shared library |
|
|
|
|
run: cmake -S . -B build-shared -G "Visual Studio 17 2022" -D BUILD_SHARED_LIBS=ON |
|
|
|
|
run: cmake -B build-shared -G "Visual Studio 17 2022" -D BUILD_SHARED_LIBS=ON |
|
|
|
|
- name: Build shared library |
|
|
|
|
run: cmake --build build-shared --parallel |
|
|
|
|
|
|
|
|
|