[WIP] Added automatic DPI scaling to editor #54
This file contains hidden or 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: Linux | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| types: [ready_for_review, synchronize] | |
| push: | |
| branches: | |
| - main | |
| env: | |
| # Path to the solution file relative to the root of the project. | |
| SOLUTION_FILE_PATH: ./ | |
| jobs: | |
| build: | |
| name: Clang ${{ matrix.configuration }} x64 | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.draft == false | |
| strategy: | |
| matrix: | |
| configuration: [Debug, Release] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install Dependencies | |
| run: sudo apt-get update && sudo apt-get install -y libgl1-mesa-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev | |
| - name: Generate premake5 solution | |
| working-directory: ${{env.SOLUTION_FILE_PATH}} | |
| run: ./gen_proj.sh | |
| - name: Build | |
| working-directory: ${{env.GITHUB_WORKSPACE}} | |
| run: | | |
| CONFIG_LOWER=$(echo "${{ matrix.configuration }}" | tr '[:upper:]' '[:lower:]') | |
| make -j$(nproc) config=${CONFIG_LOWER}_x64 |