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}