Add new tab button in title #16
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: Build on Linux | |
| on: | |
| push: | |
| branches: | |
| - rust | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ ubuntu-22.04, ubuntu-22.04-arm ] | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| ARCH: "${{ endsWith(matrix.os, 'arm') && 'aarch64' || 'x86_64' }}" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y pkg-config libxkbcommon-dev libxkbcommon-x11-dev libx11-xcb-dev desktop-file-utils libasound2-dev | |
| rustup update | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: r7kamura/rust-problem-matchers@v1 | |
| - name: Install libcontemporary utils | |
| run: | | |
| git clone https://github.com/vicr123/contemporary-rs | |
| cargo install --path ./contemporary-rs/deploy_tool/cargo_cntp_bundle | |
| cargo install --path ./contemporary-rs/deploy_tool/cargo_cntp_deploy | |
| - name: Build | |
| run: cargo build --verbose --release | |
| - name: Bundle | |
| run: cargo cntp-bundle | |
| working-directory: theterminal | |
| - name: Deploy | |
| run: cargo cntp-deploy --output-file "$HOME/theTerminal-$ARCH.AppImage" | |
| working-directory: theterminal | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: theTerminal-linux-${{ env.ARCH }} | |
| path: "~/theTerminal-${{ env.ARCH }}.AppImage" |