Skip to content

(feature) #143 shortcuts - delete, home, end, ctrl+left, ctrl+right, … #498

(feature) #143 shortcuts - delete, home, end, ctrl+left, ctrl+right, …

(feature) #143 shortcuts - delete, home, end, ctrl+left, ctrl+right, … #498

Workflow file for this run

name: Tophat workflow
on: [push]
jobs:
windows_build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: ilammy/msvc-dev-cmd@v1
- name: Build with CMake+MSbuild
run: |
git submodule init
git submodule update --remote
./msbuild.bat
linux_build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install packages
run: sudo apt install -y openssh-client mesa-common-dev xorg-dev libxi-dev libxcursor-dev mingw-w64
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- name: Update submodules
run: |
git submodule init
git submodule update --remote
- name: Build linux
run: make
- name: Build windows
run: make cross
- name: Deploy
run: |
rsync tophat [email protected]:www/tophat-web/dl/tophat-linux
rsync tophat.exe [email protected]:www/tophat-web/dl/tophat-windows.exe
- name: On push script
run: ssh [email protected] /home/marek/on-tophat-push