midi: fix broken computer keyboard input on x11 #3089
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: Debian build | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - v* | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| debian: | |
| name: Debian | |
| runs-on: [self-hosted, linux, x64, sat-builder] | |
| container: | |
| image: debian:${{ matrix.image }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - { deploy: true, distro: debian.bookworm , image: bookworm, CC: clang-19, CXX: clang++-19, PACKAGES: "clang-19", CMAKEFLAGS: "" } | |
| - { deploy: false, distro: debian.bookworm , image: bookworm, CC: /opt/gcc-14/bin/gcc, CXX: /opt/gcc-14/bin/g++, PACKAGES: "build-essential", CMAKEFLAGS: "-DCMAKE_UNITY_BUILD=0 -DSCORE_PCH=1" } | |
| - { deploy: false, distro: debian.trixie , image: trixie, CC: gcc, CXX: g++, PACKAGES: "build-essential gcc-14 g++-14 llvm-19-dev libclang-19-dev ", CMAKEFLAGS: "-DCMAKE_UNITY_BUILD=0 -DSCORE_PCH=1" } | |
| - { deploy: false, distro: debian.trixie-system, image: trixie, CC: gcc, CXX: g++, PACKAGES: "build-essential gcc-14 g++-14 llvm-19-dev libclang-19-dev ", CMAKEFLAGS: "" } | |
| - { deploy: true, distro: debian.trixie , image: trixie, CC: clang-19, CXX: clang++-19, PACKAGES: "build-essential clang-19 llvm-19-dev libclang-19-dev lld-19 ", CMAKEFLAGS: "" } | |
| steps: | |
| - name: Install git | |
| run: | | |
| apt-get update -qq | |
| apt-get install -qq --force-yes git | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: 'recursive' | |
| - name: Dependencies | |
| env: | |
| CC: ${{ matrix.CC }} | |
| CXX: ${{ matrix.CXX }} | |
| PACKAGES: ${{ matrix.packages }} | |
| run: | | |
| ./ci/${{ matrix.distro }}.deps.sh | |
| - name: Build | |
| env: | |
| CC: ${{ matrix.CC }} | |
| CXX: ${{ matrix.CXX }} | |
| CMAKEFLAGS: ${{ matrix.CMAKEFLAGS }} | |
| run: | | |
| ./ci/${{ matrix.distro }}.build.sh | |
| - name: Deploy | |
| run: | | |
| ./ci/${{ matrix.distro }}.deploy.sh | |
| - name: Upload build | |
| uses: actions/upload-artifact@v7 | |
| if: matrix.deploy | |
| with: | |
| name: ${{ matrix.distro }} | |
| path: | | |
| *.deb | |
| - name: Continuous | |
| uses: softprops/action-gh-release@v3 | |
| if: github.ref == 'refs/heads/master' | |
| with: | |
| name: "Continuous" | |
| tag_name: "continuous" | |
| target_commitish: ${{ github.sha }} | |
| body: "Continuous (development) build of ossia score, automatically rebuilt from the latest commit on master. For stable versions, see the tagged releases." | |
| append_body: false | |
| generate_release_notes: false | |
| files: | | |
| *.deb | |
| - name: Release | |
| uses: softprops/action-gh-release@v3 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| body: "" | |
| append_body: true | |
| generate_release_notes: false | |
| files: | | |
| *.deb |