Skip to content

Add Makefile

Add Makefile #102

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: MSBuild
on:
push:
branches: [ "main" ]
# only when .cpp .h or .cu files changed
paths:
- examples/**
- include/**
pull_request:
branches: [ "main" ]
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: Release
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: Jimver/[email protected]
id: cuda-toolkit
with:
cuda: '11.7.0'
# run bash file
- name: run bat file
run: |
cd examples/storygen &&
./build.bat
# package ./release into a zip and upload it as an artifact
- name: Upload Release
uses: actions/upload-artifact@v2
with:
name: Release
path: ./examples/storygen/release