Skip to content

update PR

update PR #116

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main]
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
submodules: true
lfs: true
- name: Build ScummVM 🔧
run: |
cd scummvm
./dists/emscripten/build.sh build --enable-release --enable-plugins --enable-all-engines --disable-engine=hpl1 --default-dynamic --enable-png --enable-ogg --enable-vorbis --enable-gif --enable-mpeg2 --enable-freetype2 --enable-jpeg --enable-theoradec --enable-mad --enable-zlib \
--bundle-games=ft,grim/grim-win-demo1-en.zip,driller,comi/comi-win-large-demo-en.zip,warlock,sky/BASS-Floppy-1.3.zip,drascula/drascula-1.0.zip,monkey4/emi-win-demo-en.zip,feeble,queen/FOTAQ_Floppy.zip,ft,grim/grim-win-demo2-en.zip,lsl7,lure,myst,phantasmagoria,riven,tlj,sword2,sinistersix,"https://downloads.scummvm.org/frs/demos/hypno/wetlands-dos-demo1-en.zip",sanitarium
cp build-emscripten/scummvm.html build-emscripten/index.html
cp AUTHORS build-emscripten/
cp COPYING build-emscripten/
cp LICENSES/* build-emscripten/
cp COPYRIGHT build-emscripten/
cp NEWS* build-emscripten/
cp README* build-emscripten/
cd ..
- name: Deploy Demo 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: scummvm/build-emscripten # The folder the action should deploy.