Enable PSVita (arm-none-eabi) compile again and add it to CI (#594)
This commit is contained in:
parent
65d4e5bcda
commit
102f5ead49
|
@ -1,8 +1,5 @@
|
||||||
version: 2
|
version: 2
|
||||||
|
|
||||||
branches:
|
|
||||||
ignore:
|
|
||||||
- gh-pages
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
base:
|
base:
|
||||||
|
@ -13,6 +10,15 @@ jobs:
|
||||||
- run: apt update && apt install ragel
|
- run: apt update && apt install ragel
|
||||||
- run: cmake -Bbuild -H. -GNinja && ninja -Cbuild
|
- run: cmake -Bbuild -H. -GNinja && ninja -Cbuild
|
||||||
|
|
||||||
|
psvita:
|
||||||
|
docker:
|
||||||
|
- image: dockcross/base
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run: apt update && apt install ragel
|
||||||
|
- run: git clone https://github.com/vitasdk/vdpm && cd vdpm && ./bootstrap-vitasdk.sh
|
||||||
|
- run: cmake -Bbuild -H. -GNinja -DCMAKE_TOOLCHAIN_FILE=/usr/local/vitasdk/share/vita.toolchain.cmake && ninja -Cbuild
|
||||||
|
|
||||||
android-arm:
|
android-arm:
|
||||||
docker:
|
docker:
|
||||||
- image: dockcross/android-arm
|
- image: dockcross/android-arm
|
||||||
|
@ -58,8 +64,13 @@ workflows:
|
||||||
build:
|
build:
|
||||||
jobs:
|
jobs:
|
||||||
- base
|
- base
|
||||||
|
- psvita
|
||||||
- android-arm
|
- android-arm
|
||||||
- browser-asmjs
|
- browser-asmjs
|
||||||
- linux-arm64
|
- linux-arm64
|
||||||
- linux-mips
|
- linux-mips
|
||||||
- windows-x64
|
- windows-x64
|
||||||
|
|
||||||
|
branches:
|
||||||
|
ignore:
|
||||||
|
- gh-pages
|
||||||
|
|
|
@ -311,7 +311,7 @@ struct hb_buffer_t {
|
||||||
unsigned int cluster) const
|
unsigned int cluster) const
|
||||||
{
|
{
|
||||||
for (unsigned int i = start; i < end; i++)
|
for (unsigned int i = start; i < end; i++)
|
||||||
cluster = MIN (cluster, info[i].cluster);
|
cluster = MIN<unsigned int> (cluster, info[i].cluster);
|
||||||
return cluster;
|
return cluster;
|
||||||
}
|
}
|
||||||
void
|
void
|
||||||
|
|
|
@ -554,7 +554,7 @@ hb_buffer_t::merge_clusters_impl (unsigned int start,
|
||||||
unsigned int cluster = info[start].cluster;
|
unsigned int cluster = info[start].cluster;
|
||||||
|
|
||||||
for (unsigned int i = start + 1; i < end; i++)
|
for (unsigned int i = start + 1; i < end; i++)
|
||||||
cluster = MIN (cluster, info[i].cluster);
|
cluster = MIN<unsigned int> (cluster, info[i].cluster);
|
||||||
|
|
||||||
/* Extend end */
|
/* Extend end */
|
||||||
while (end < len && info[end - 1].cluster == info[end].cluster)
|
while (end < len && info[end - 1].cluster == info[end].cluster)
|
||||||
|
@ -585,7 +585,7 @@ hb_buffer_t::merge_out_clusters (unsigned int start,
|
||||||
unsigned int cluster = out_info[start].cluster;
|
unsigned int cluster = out_info[start].cluster;
|
||||||
|
|
||||||
for (unsigned int i = start + 1; i < end; i++)
|
for (unsigned int i = start + 1; i < end; i++)
|
||||||
cluster = MIN (cluster, out_info[i].cluster);
|
cluster = MIN<unsigned int> (cluster, out_info[i].cluster);
|
||||||
|
|
||||||
/* Extend start */
|
/* Extend start */
|
||||||
while (start && out_info[start - 1].cluster == out_info[start].cluster)
|
while (start && out_info[start - 1].cluster == out_info[start].cluster)
|
||||||
|
|
|
@ -90,7 +90,7 @@ typedef struct OffsetTable
|
||||||
if (start_offset >= tables.len)
|
if (start_offset >= tables.len)
|
||||||
*table_count = 0;
|
*table_count = 0;
|
||||||
else
|
else
|
||||||
*table_count = MIN (*table_count, tables.len - start_offset);
|
*table_count = MIN<unsigned int> (*table_count, tables.len - start_offset);
|
||||||
|
|
||||||
const TableRecord *sub_tables = tables.array + start_offset;
|
const TableRecord *sub_tables = tables.array + start_offset;
|
||||||
unsigned int count = *table_count;
|
unsigned int count = *table_count;
|
||||||
|
|
Loading…
Reference in New Issue