Skip to content

Commit

Permalink
Convert to CMake (#3)
Browse files Browse the repository at this point in the history
- converted to CMake project
- removed encryption/decryption
  • Loading branch information
dvsku authored Apr 22, 2024
1 parent 477008b commit 7677fc7
Show file tree
Hide file tree
Showing 156 changed files with 1,089 additions and 136,713 deletions.
51 changes: 30 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,37 @@
name: MSBuild
name: Build dvsku_toolkit

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

env:
SOLUTION_FILE_PATH: src/
BUILD_CONFIGURATION: Release

permissions:
contents: read
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
runs-on: windows-2022
build:
runs-on: windows-latest

strategy:
matrix:
architecture: [x86, x64]
build_type: [Release]

steps:
- name: Checkout repo
uses: actions/checkout@v3

steps:
- uses: actions/checkout@v3
- name: Set up VS toolchain
uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.architecture }}

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
- name: Setup Ninja
uses: ashutoshvarma/setup-ninja@master
with:
version: 1.10.0

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
- name: Build
uses: ashutoshvarma/action-cmake-build@master
with:
build-dir: ${{ runner.workspace }}/build
configure-options: -G Ninja -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl
build-type: ${{ matrix.build_type }}
Loading

0 comments on commit 7677fc7

Please sign in to comment.