From 8dc9df25d73307b7a7c6fd5c400f301515db2f3e Mon Sep 17 00:00:00 2001 From: Ignacio Date: Sun, 23 Aug 2020 14:17:31 -0700 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..411afa1 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: build + +on: [push, pull_request] + +jobs: + vs2017: + runs-on: windows-2017 + steps: + - uses: actions/checkout@v2 + - uses: microsoft/setup-msbuild@v1.0.0 + - name: Build Debug/x64 + run: msbuild .\project\vc2017\nvtt.sln /property:Configuration=Debug /property:Platform=x64 + - name: Build Debug/Win32 + run: msbuild .\project\vc2017\nvtt.sln /property:Configuration=Debug /property:Platform=Win32 + + unix: + strategy: + matrix: + os: [ubuntu, macos] + name: ${{matrix.os}} + runs-on: ${{matrix.os}}-latest + steps: + - uses: actions/checkout@v2 + - name: make + run: | + ./configure --debug + make + ./configure --release + make