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

Commit

Permalink
Upgrade to Burst 1.3.5 to fix broken compile for performance tests (#…
Browse files Browse the repository at this point in the history
…1467)

* Upgrade to Burst 1.3.5 to fix broken compile for performance tests

* Add override env variable for performance tests PERF_BRANCH_OVERRIDE
  • Loading branch information
zeroZshadow authored Aug 27, 2020
1 parent a073a24 commit 64e0814
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- Upgrade to Worker SDK v14.8.0. [#1458](https://github.com/spatialos/gdk-for-unity/pull/1458)
- Migrated launch configurations to latest game templates. [#1457](https://github.com/spatialos/gdk-for-unity/pull/1457)
- Multithreaded component serialization through `SystemBase` jobs. [#1454](https://github.com/spatialos/gdk-for-unity/pull/1454)
- Upgrade Unity Burst to 1.3.5. [#1467](https://github.com/spatialos/gdk-for-unity/pull/1467)

### Fixed

Expand Down
12 changes: 9 additions & 3 deletions ci/perf-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ function main {
}

function anyMatchingTargets {
if ! [[ -z "${PERF_BRANCH_OVERRIDE:-}" ]]; then
return 0
fi

for configId in `seq ${JOB_ID} ${NUM_JOBS} $((${NUM_CONFIGS}-1))`
do
local branchFilter=$(jq -r .[${configId}].branchFilter ${CONFIG_FILE})
Expand All @@ -109,9 +113,11 @@ function runTests {

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

if ! [[ ${BRANCH_NAME} =~ ${branchFilter} ]]; then
echo "Skipping target as current branch does not match regex '${branchFilter}'."
return
if [[ -z "${PERF_BRANCH_OVERRIDE:-}" ]]; then
if ! [[ ${BRANCH_NAME} =~ ${branchFilter} ]]; then
echo "Skipping target as current branch does not match regex '${branchFilter}'."
return
fi
fi

local args=()
Expand Down
3 changes: 2 additions & 1 deletion workers/unity/Packages/io.improbable.gdk.core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"io.improbable.worker.sdk": "0.3.10",
"io.improbable.gdk.tools": "0.3.10",
"io.improbable.gdk.testutils": "0.3.10",
"com.unity.entities": "0.14.0-preview.18"
"com.unity.entities": "0.14.0-preview.18",
"com.unity.burst": "1.3.5"
}
}

0 comments on commit 64e0814

Please sign in to comment.