Change the api to return results #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build and test | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
# Path to the solution file relative to the root of the project. | |
SOLUTION_FILE_PATH: . | |
# Configuration type to build. | |
# You can convert this to a build matrix if you need coverage of multiple configuration types. | |
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix | |
BUILD_CONFIGURATION: Debug | |
permissions: | |
contents: read | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: abel0b/[email protected] | |
with: | |
version: "5.0.0-beta2" | |
- name: premake | |
run: premake5 gmake2 | |
- name: make | |
run: make | |
- name: Running tests | |
run: bin/Debug/Tests/Tests | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: abel0b/[email protected] | |
with: | |
version: "5.0.0-beta2" | |
- name: Add MSBuild to PATH | |
uses: microsoft/[email protected] | |
- name: premake | |
run: premake5 vs2022 | |
- name: Build | |
# Add additional options to the MSBuild command line here (like platform or verbosity level). | |
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference | |
run: msbuild Tests.vcxproj | |
- name: Running tests | |
run: bin/Debug/Tests/Tests.exe |