feat(Actions): ci on push & pr (#84)
This commit is contained in:
parent
ce3f2e3a36
commit
cef53a2877
31
.github/workflows/ci.yml
vendored
Normal file
31
.github/workflows/ci.yml
vendored
Normal file
@ -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}
|
Reference in New Issue
Block a user