Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit 64e0814

Browse files
authored
Upgrade to Burst 1.3.5 to fix broken compile for performance tests (#1467)
* Upgrade to Burst 1.3.5 to fix broken compile for performance tests * Add override env variable for performance tests PERF_BRANCH_OVERRIDE
1 parent a073a24 commit 64e0814

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- Upgrade to Worker SDK v14.8.0. [#1458](https://github.com/spatialos/gdk-for-unity/pull/1458)
1818
- Migrated launch configurations to latest game templates. [#1457](https://github.com/spatialos/gdk-for-unity/pull/1457)
1919
- Multithreaded component serialization through `SystemBase` jobs. [#1454](https://github.com/spatialos/gdk-for-unity/pull/1454)
20+
- Upgrade Unity Burst to 1.3.5. [#1467](https://github.com/spatialos/gdk-for-unity/pull/1467)
2021

2122
### Fixed
2223

ci/perf-test.sh

+9-3
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ function main {
8686
}
8787

8888
function anyMatchingTargets {
89+
if ! [[ -z "${PERF_BRANCH_OVERRIDE:-}" ]]; then
90+
return 0
91+
fi
92+
8993
for configId in `seq ${JOB_ID} ${NUM_JOBS} $((${NUM_CONFIGS}-1))`
9094
do
9195
local branchFilter=$(jq -r .[${configId}].branchFilter ${CONFIG_FILE})
@@ -109,9 +113,11 @@ function runTests {
109113

110114
local branchFilter=$(jq -r .[${configId}].branchFilter ${CONFIG_FILE})
111115

112-
if ! [[ ${BRANCH_NAME} =~ ${branchFilter} ]]; then
113-
echo "Skipping target as current branch does not match regex '${branchFilter}'."
114-
return
116+
if [[ -z "${PERF_BRANCH_OVERRIDE:-}" ]]; then
117+
if ! [[ ${BRANCH_NAME} =~ ${branchFilter} ]]; then
118+
echo "Skipping target as current branch does not match regex '${branchFilter}'."
119+
return
120+
fi
115121
fi
116122

117123
local args=()

workers/unity/Packages/io.improbable.gdk.core/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"io.improbable.worker.sdk": "0.3.10",
1010
"io.improbable.gdk.tools": "0.3.10",
1111
"io.improbable.gdk.testutils": "0.3.10",
12-
"com.unity.entities": "0.14.0-preview.18"
12+
"com.unity.entities": "0.14.0-preview.18",
13+
"com.unity.burst": "1.3.5"
1314
}
1415
}

0 commit comments

Comments
 (0)