Skip to content

Commit

Permalink
Restore original workflow to fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
ThreeDeeJay authored Jan 23, 2025
1 parent d6aa9c2 commit b67636d
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/default-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CMake Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release

jobs:
build:
runs-on: windows-latest
strategy:
matrix:
arch: [Win32, x64]

steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'

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

- name: Build
# Build the library with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Create Archive
working-directory: ${{github.workspace}}/build
# Create package defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/module/CPack.html for more detail
run: cpack

- name: Upload Archive
# Upload package as an artifact of this workflow.
uses: actions/upload-artifact@v4
with:
name: dsoal-${{matrix.arch}}
path: ${{github.workspace}}/build/packages/*

0 comments on commit b67636d

Please sign in to comment.