From cef53a287702ada6513f3f88962562eab2d802db Mon Sep 17 00:00:00 2001 From: GeopJr <18014039+GeopJr@users.noreply.github.com> Date: Fri, 4 Mar 2022 18:12:49 +0200 Subject: [PATCH] feat(Actions): ci on push & pr (#84) --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..ee0c3217 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +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}