Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/build-options.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"os": [
"macos-15",
"macos-latest"
],
"unity-version": [
Expand All @@ -15,10 +16,18 @@
"VisionOS"
],
"xcode-version": [
"16.3",
""
"16.4",
"latest"
],
"exclude": [
{
"os": "macos-15",
"xcode-version": "latest"
},
{
"os": "macos-latest",
"xcode-version": "16.4"
},
{
"unity-version": "2021.x",
"build-target": "VisionOS"
Expand All @@ -28,4 +37,4 @@
"build-target": "VisionOS"
}
]
}
}
16 changes: 9 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@
BUILD_DIRECTORY: ''
UNITY_PROJECT_PATH: ${{ github.workspace }}/UnityProject
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- run: 'npm install -g openupm-cli'
- uses: RageAgainstThePixel/unity-setup@v1
- uses: RageAgainstThePixel/unity-setup@v2
with:
version-file: 'None'
build-targets: ${{ matrix.build-target }}
unity-version: ${{ matrix.unity-version }}
# Hub 3.20+ installs outside the path currently probed by unity-setup.
hub-version: '3.14.3'
- name: Set Build Args
shell: bash
run: |
Expand Down Expand Up @@ -70,26 +72,26 @@
echo "Creating build directory at $build_directory"
mkdir -p "$build_directory"
echo "BUILD_DIRECTORY=$build_directory" >> "$GITHUB_ENV"
- uses: RageAgainstThePixel/activate-unity-license@v1
- uses: RageAgainstThePixel/activate-unity-license@v2
with:
license: 'Personal'
license: personal
username: ${{ secrets.UNITY_USERNAME }}
password: ${{ secrets.UNITY_PASSWORD }}
- uses: RageAgainstThePixel/create-unity-project@v1
- uses: RageAgainstThePixel/create-unity-project@v2
name: Create Test Project
with:
project-name: UnityProject
template-name: com.unity.template.3d(-cross-platform)?
- run: openupm add com.utilities.buildpipeline
name: Add Build Pipeline Package
working-directory: ${{ env.UNITY_PROJECT_PATH }}
- uses: RageAgainstThePixel/unity-action@v2
- uses: RageAgainstThePixel/unity-action@v3
name: '${{ matrix.build-target }}-Validate'
with:
build-target: ${{ matrix.build-target }}
log-name: '${{ matrix.build-target }}-Validate'
args: '-quit -nographics -batchmode -executeMethod Utilities.Editor.BuildPipeline.UnityPlayerBuildTools.ValidateProject -importTMProEssentialsAsset'
- uses: RageAgainstThePixel/unity-action@v2
- uses: RageAgainstThePixel/unity-action@v3
name: '${{ matrix.build-target }}-Build'
with:
build-target: ${{ matrix.build-target }}
Expand Down
Loading