-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working Github Action to build Mac, Win, and Ubuntu versions.
* Uses Exeldro's build system. * Adds branch to push trigger of workflow. * Update permissions on github actions script for mac build, fix (int) type for size_t variable in gaussian output. * Switch max/min to fmax/fmin * Fixes unused variables, circular import, and typedef for data structure. * Adds icon for installer * Fixes box blur .effect files to work with MacOS * Turns off github CI on push for this branch. * Fixes effect files for windows, removes dev logging, adds linear sampling to box_1d.effect. * Switches box_radial.effect to use linear sampling. * Adds check for OpenGL, and disables Gaussian if detected. * Uses #ifdef macro to detect Windows/Direct3D build to enable gaussian blur.
- Loading branch information
1 parent
4b3242a
commit 347edf2
Showing
119 changed files
with
4,028 additions
and
4,191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github: finitesingularity | ||
patreon: FiniteSingularity |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
name: 'Setup and build plugin' | ||
description: 'Builds the plugin for specified architecture and build config.' | ||
inputs: | ||
target: | ||
description: 'Build target for dependencies' | ||
required: true | ||
config: | ||
description: 'Build configuration' | ||
required: false | ||
default: 'Release' | ||
codesign: | ||
description: 'Enable codesigning (macOS only)' | ||
required: false | ||
default: 'false' | ||
codesignIdent: | ||
description: 'Developer ID for application codesigning (macOS only)' | ||
required: false | ||
default: '-' | ||
visualStudio: | ||
description: 'Visual Studio version (Windows only)' | ||
required: false | ||
default: 'Visual Studio 16 2019' | ||
workingDirectory: | ||
description: 'Working directory for packaging' | ||
required: false | ||
default: ${{ github.workspace }} | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Run macOS Build | ||
if: ${{ runner.os == 'macOS' }} | ||
shell: zsh {0} | ||
env: | ||
CODESIGN_IDENT: ${{ inputs.codesignIdent }} | ||
run: | | ||
build_args=( | ||
-c ${{ inputs.config }} | ||
-t macos-${{ inputs.target }} | ||
) | ||
if [[ '${{ inputs.codesign }}' == 'true' ]] build_args+=(-s) | ||
if (( ${+CI} && ${+RUNNER_DEBUG} )) build_args+=(--debug) | ||
${{ inputs.workingDirectory }}/.github/scripts/build-macos.zsh ${build_args} | ||
- name: Run Linux Build | ||
if: ${{ runner.os == 'Linux' }} | ||
shell: bash | ||
run: | | ||
build_args=( | ||
-c ${{ inputs.config }} | ||
-t linux-${{ inputs.target }} | ||
) | ||
if [[ -n "${CI}" && -n "${RUNNER_DEBUG}" ]]; then | ||
build_args+=(--debug) | ||
fi | ||
${{ inputs.workingDirectory }}/.github/scripts/build-linux.sh "${build_args[@]}" | ||
- name: Run Windows Build | ||
if: ${{ runner.os == 'Windows' }} | ||
shell: pwsh | ||
run: | | ||
$BuildArgs = @{ | ||
Target = '${{ inputs.target }}' | ||
Configuration = '${{ inputs.config }}' | ||
CMakeGenerator = '${{ inputs.visualStudio }}' | ||
} | ||
if ( ( Test-Path env:CI ) -and ( Test-Path env:RUNNER_DEBUG ) ) { | ||
$BuildArgs += @{ | ||
Debug = $true | ||
} | ||
} | ||
${{ inputs.workingDirectory }}/.github/scripts/Build-Windows.ps1 @BuildArgs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.