Skip to content

Feat(IO2): Test CI flow #34

Feat(IO2): Test CI flow

Feat(IO2): Test CI flow #34

Workflow file for this run

name: IO2-Main
on:
push:
branches:
- 'master'
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
Windows:
strategy:
matrix:
build_type: [Release, RelWithDebInfo, MinSizeRel, Debug]
runs-on: windows-2022
env:
build_dir: D:/a/Lua-io2/Lua-io2/${{ matrix.build_type}}/
steps:
- uses: actions/checkout@v4
- name: Cache Boost
id: cache-LuaBoost
uses: actions/cache@v3
with:
path: |
C:/local/boost_1_80_0/
D:/a/Lua-io2/Lua-io2/LuaJIT/
D:/a/Lua-io2/Lua-io2/sol2/
key: ${{ runner.os }}-LuaBoost
- name: Get Deps (Boost, LuaJIT)
shell: bash
if: steps.cache-LuaBoost.outputs.cache-hit != 'true'
run: CI/get_win_deps.sh
- name: Configure
shell: bash
run: LUA_DIR=LuaJIT/ cmake .
- name: Build
run: |
cmake --build . --config ${{ matrix.build_type }}
mv $BUILD_DIR/io2.dll $BUILD_DIR/io2-${{ matrix.build_type }}.dll
- name: Upload Release
uses: softprops/action-gh-release@v1
with:
tag_name: Stable-${{ github.sha }}
files: $BUILD_DIR/io2-${{ matrix.build_type }}.dll
body: |
CI Build for Dreamweave IO2 fork