Skip to content

update vscode in frontend and add projection option #20

update vscode in frontend and add projection option

update vscode in frontend and add projection option #20

Workflow file for this run

name: build-vs
# make the action not run on the local repo if the branch is also in a pull request to OF/OF
on:
push:
if: github.event_name == 'push' && github.event.pull_request == null
paths-ignore:
- '**/*.md'
- 'examples/**'
pull_request:
if: github.event_name == 'pull_request' && github.repository == 'openframeworks/openFrameworks'
paths-ignore:
- '**/*.md'
- 'examples/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-vs2019:
runs-on: windows-2019
strategy:
matrix:
include:
- platform: x64
bits: 64
env:
BITS: ${{ matrix.bits }}
steps:
- name: Clone repository
uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
update: true
install: >-
git
unzip
zip
rsync
wget
- name: Install dependencies
shell: msys2 {0}
run:
./scripts/vs/install.sh
- name: Setup MSBuild
uses: microsoft/[email protected]
- name: Build projectGenerator
working-directory: ${{env.GITHUB_WORKSPACE}}
run:
msbuild ../openFrameworks/apps/projectGenerator/commandLine/commandLine.vcxproj /p:configuration=release /p:platform=${{ matrix.platform }} /p:PlatformToolset=v142
- name: Create zip
if: github.repository == 'openframeworks/projectGenerator' && github.ref == 'refs/heads/master'
shell: msys2 {0}
run:
./scripts/vs/create_package.sh
- name: Update Release
if: github.repository == 'openframeworks/projectGenerator' && github.ref == 'refs/heads/master'
uses: IsaacShelton/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: nightly
release: nightly
prerelease: false
replace: false
files: ../openFrameworks/apps/projectGenerator/commandLine/bin/projectGenerator-vs.zip