Skip to content

Build mruby (Windows) #8

Build mruby (Windows)

Build mruby (Windows) #8

name: Build mruby (Windows)
on:
workflow_call:
workflow_dispatch:
env:
MRUBY_DIR: ${{ github.workspace }}/src/vitalrouter-mruby/ext/mruby
PLUGINS_DIR: ${{ github.workspace }}/src/VitalRouter.Unity/Assets/VitalRouter.MRuby/Runtime/Plugins
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: ruby/setup-ruby@v1
with:
ruby-version: mswin
- uses: microsoft/setup-msbuild@v2
- name: Build mruby (windows x86)
working-directory: ${{ env.MRUBY_DIR }}
shell: bash
run: |
MRUBY_CONFIG=${GITHUB_WORKSPACE}/src/vitalrouter-mruby/build_config.rb rake -v
ls ./build/minimal/lib