-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixes for our titlebar stuff and GLFW's new platform API
- Loading branch information
Showing
143 changed files
with
18,384 additions
and
10,399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
name: Build | ||
on: | ||
pull_request: | ||
push: | ||
branches: [ ci, master, latest, 3.3-stable ] | ||
permissions: | ||
statuses: write | ||
contents: read | ||
|
||
jobs: | ||
build-linux-x11-clang: | ||
name: X11 (Linux, Clang) | ||
runs-on: ubuntu-latest | ||
env: | ||
CC: clang | ||
CFLAGS: -Werror | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt install libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev | ||
- name: Configure static library | ||
run: cmake -S . -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 | ||
- name: Build shared library | ||
run: cmake --build build-shared --parallel | ||
|
||
build-linux-full-clang: | ||
name: X11+Wayland (Linux, Clang) | ||
runs-on: ubuntu-latest | ||
env: | ||
CC: clang | ||
CFLAGS: -Werror | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt update | ||
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 | ||
- 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 | ||
- name: Build shared library | ||
run: cmake --build build-shared --parallel | ||
|
||
build-macos-cocoa-clang: | ||
name: Cocoa (macOS, Clang) | ||
runs-on: macos-latest | ||
env: | ||
CFLAGS: -Werror | ||
MACOSX_DEPLOYMENT_TARGET: 10.8 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Configure static library | ||
run: cmake -S . -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 | ||
- name: Build shared library | ||
run: cmake --build build-shared --parallel | ||
|
||
build-windows-win32-vs2019: | ||
name: Win32 (Windows, VS2019) | ||
runs-on: windows-latest | ||
env: | ||
CFLAGS: /WX | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Configure static library | ||
run: cmake -S . -B build-static -G "Visual Studio 16 2019" | ||
- name: Build static library | ||
run: cmake --build build-static --parallel | ||
|
||
- name: Configure shared library | ||
run: cmake -S . -B build-shared -G "Visual Studio 16 2019" -D BUILD_SHARED_LIBS=ON | ||
- name: Build shared library | ||
run: cmake --build build-shared --parallel | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.