Skip to content

Commit

Permalink
Added Build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewRichards-Code committed Aug 7, 2024
1 parent b9137f5 commit 3931905
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This starter workflow is for a CMake project running on a single platform. There is a different starter workflow if you need cross-platform coverage.
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-multi-platform.yml
name: CMake Build Windows x64 Debug/Release with Visual Studio 2022

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4

- name: Update Submodules
run: git submodule update --init --force

- name: Configure CMake
# Configure CMake in a 'build' subdirectory.
run: cmake -B ${{github.workspace}}/build

- name: Build Release
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --target ALL_BUILD --config Release

- name: Build Debug
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --target ALL_BUILD --config Debug

0 comments on commit 3931905

Please sign in to comment.