Support Text and Scrollwheel input #137
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
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Mesa | |
run: | | |
sudo add-apt-repository ppa:oibaf/graphics-drivers | |
sudo apt update | |
sudo apt upgrade | |
if: matrix.os == 'ubuntu-latest' | |
- name: Build and install GLFW | |
run: | | |
sudo apt install xorg-dev cmake | |
git clone --recursive https://github.com/glfw/glfw.git | |
cd glfw | |
mkdir build | |
cmake -S . -B ./build -D GLFW_BUILD_EXAMPLES=OFF -D GLFW_BUILD_TESTS=OFF -D GLFW_BUILD_DOCS=OFF -D BUILD_SHARED_LIBS=ON | |
cd build | |
make | |
sudo make install | |
if: matrix.os == 'ubuntu-latest' | |
- name: Setup .NET | |
uses: actions/[email protected] | |
with: | |
dotnet-version: '8.0.x' | |
- name: Setup NuGet | |
uses: NuGet/[email protected] | |
- name: Restore dependencies | |
run: dotnet restore EngineKit.sln | |
- name: Build | |
run: dotnet build EngineKit.sln --configuration Release --no-restore |