Skip to content

Do not call th_deinit on an emscripten error (#215) #686

Do not call th_deinit on an emscripten error (#215)

Do not call th_deinit on an emscripten error (#215) #686

Workflow file for this run

name: Tophat workflow
on:
push:
branches:
- main
jobs:
windows_build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: ilammy/msvc-dev-cmd@v1
- name: Build with CMake+Ninja
run: |
git submodule init
git submodule update --remote
./build.bat
linux_build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install packages
run: |
sudo apt update
sudo apt install -y openssh-client mesa-common-dev xorg-dev libxi-dev libxcursor-dev mingw-w64 mingw-w64-common
- 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
- name: Build linux
run: make
- name: Build windows
run: make cross
- name: Test
run: sh cmd/checkall.sh
- name: Deploy
run: |
rsync tophat marek@tophat2d.dev:www/tophat-web/dl/tophat-linux
rsync tophat.exe marek@tophat2d.dev:www/tophat-web/dl/tophat-windows.exe
- name: On push script
run: ssh marek@tophat2d.dev /home/marek/on-tophat-push
- name: UmBox
uses: marekmaskarinec/umbox@master
with:
secret: ${{ secrets.UMBOX }}
emscripten_build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: mymindstorm/setup-emsdk@v14
with:
version: 3.1.61
actions-cache-folder: 'emsdk-cache'
- name: Install packages
run: |
sudo apt update
sudo apt install -y openssh-client mesa-common-dev xorg-dev libxi-dev libxcursor-dev mingw-w64
- name: Update submodules
run: |
git submodule init
git submodule update --remote
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- name: Build
run: sh cmd/emscripten_build.sh
- name: Deploy
run: |
rsync th_emscripten.a marek@tophat2d.dev:www/tophat-web/dl/th_emscripten.a
- name: Build and deploy playground
run: |
./cmd/th_emscripten_link_playground
rsync -r ../th_wasm_data/wasm-out/* marek@tophat2d.dev:www/tophat-web/playground
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy