Skip to content

Commit

Permalink
Add 3p build workflow for special cases (#259)
Browse files Browse the repository at this point in the history
Adds a section in the 3p build for certain cases, for instance
DirectXShaderCompiler needs to be built on Windows 2019/VS2019
  • Loading branch information
amzn-changml authored Jul 13, 2024
1 parent 2ec7da4 commit f0d8925
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ jobs:
DOCKER=$(test -e ${PACKPATH%% }/Dockerfile* && echo 1 || echo 0) # Assume the build scripts will use the Dockerfile if found in the package path
DOCKERFILE["$PACKAGE"]=1 # Mark Dockerfile check as done
fi
# Special cases for certain packages
if [[ $PACKAGE =~ "DirectXShaderCompilerDxc" ]] && [[ $PLATFORM =~ "windows" ]]; then
OS_RUNNER="windows-2019"
fi
PACKAGES_JSON["$PACKAGE"]="{\"package\": \"$PACKAGE\", \"os\": \"$OS_RUNNER\", \"dockerfile\": \"$DOCKER\"}"
done
unset IFS
Expand Down

0 comments on commit f0d8925

Please sign in to comment.