-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* BRender software rendering initial commit * changes required for brender v1.3.2 * fixes missing selection rectangle in race summary screen * fix track rendering, remove opengl bits * adding BRender submodule * enables mirror, bumps brender * enable linux arm64 builds * clang-format on all files --------- Co-authored-by: Anonymous Maarten <[email protected]>
- Loading branch information
1 parent
3870bf8
commit 6222f69
Showing
338 changed files
with
1,624 additions
and
62,918 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: Workflow | ||
|
||
on: | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
|
@@ -16,6 +16,7 @@ jobs: | |
matrix: | ||
platform: | ||
- { name: 'Linux', arch: 'x64', os: ubuntu-latest, werror: true } | ||
- { name: 'Linux', arch: 'arm64', os: ubuntu-latest, werror: true, cmake-toolchain-file: 'cmake/toolchains/linux-aarch64.cmake', apt-packages: 'gcc-aarch64-linux-gnu g++-aarch64-linux-gnu', cross: true } | ||
- { name: 'MacOS', arch: 'arm64-x64', os: macos-latest, werror: true, cmake-args: '-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"' } | ||
- { name: 'Windows', arch: 'Win32', os: windows-latest } | ||
- { name: 'Windows', arch: 'x64', os: windows-latest } | ||
|
@@ -27,6 +28,8 @@ jobs: | |
name: 'CI ${{ matrix.platform.name }} ${{ matrix.platform.arch }}' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Set up Ninja | ||
uses: aseprite/get-ninja@main | ||
- uses: ilammy/[email protected] | ||
|
@@ -37,12 +40,13 @@ jobs: | |
if: ${{ runner.os == 'Linux' }} | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libgl-dev | ||
sudo apt-get install -y libgl-dev ${{ matrix.platform.apt-packages }} | ||
- name: Set up SDL | ||
uses: libsdl-org/setup-sdl@main | ||
with: | ||
cmake-arguments: ${{ matrix.platform.cmake-args }} | ||
cmake-generator: Ninja | ||
cmake-toolchain-file: ${{ matrix.platform.cmake-toolchain-file }} | ||
version: 2-latest | ||
add-to-environment: true | ||
|
||
|
@@ -61,11 +65,13 @@ jobs: | |
-DDETHRACE_INSTALL=ON \ | ||
-DDETHRACE_PACKAGE_PLATFORM=${{ matrix.platform.name }} \ | ||
-DDETHRACE_PACKAGE_ARCH=${{ matrix.platform.arch }} \ | ||
-DCMAKE_TOOLCHAIN_FILE=${{ matrix.platform.cmake-toolchain-file }} \ | ||
${{ matrix.platform.cmake-args }} | ||
- name: 'Build (CMake)' | ||
run: | | ||
cmake --build build | ||
- name: 'Test (CTest)' | ||
if: ${{ !matrix.platform.cross }} | ||
run: | | ||
ctest --test-dir build --verbose | ||
- name: 'Package (CPack)' | ||
|
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,3 @@ | ||
[submodule "lib/BRender-v1.3.2"] | ||
path = lib/BRender-v1.3.2 | ||
url = https://github.com/dethrace-labs/BRender-v1.3.2 |
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,4 @@ | ||
set(CMAKE_SYSTEM_NAME "Linux") | ||
set(CMAKE_SYSTEM_PROCESSOR "arm64") | ||
set(CMAKE_C_COMPILER "aarch64-linux-gnu-gcc") | ||
set(CMAKE_CXX_COMPILER "aarch64-linux-gnu-g++") |
Submodule BRender-v1.3.2
added at
9b6c6d
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.