mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-07 09:53:50 +08:00
32 lines
710 B
YAML
32 lines
710 B
YAML
|
name: CI
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
ci:
|
||
|
runs-on: windows-latest
|
||
|
name: CI
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2.4.0
|
||
|
with:
|
||
|
submodules: recursive
|
||
|
|
||
|
- name: Setup premake
|
||
|
uses: abel0b/setup-premake@v2
|
||
|
with:
|
||
|
version: "5.0.0-beta1"
|
||
|
|
||
|
- name: Add msbuild to PATH
|
||
|
uses: microsoft/setup-msbuild@v1.1
|
||
|
|
||
|
- name: Generate premake5 project
|
||
|
run: premake5 vs2019
|
||
|
shell: bash
|
||
|
|
||
|
- name: Build 64bit release DLL
|
||
|
run: |
|
||
|
msbuild /p:Configuration=Release /p:Platform=x64 BigBaseV2.sln
|
||
|
|
||
|
- name: Check if DLL got built
|
||
|
run: if (-Not (Test-Path -path "bin/Release/BigBaseV2.dll")) {throw 1}
|