Run Node.js ARM workflow on GitHub runner (#2859)

This commit is contained in:
Bart Louwers
2024-10-07 17:12:34 +02:00
committed by GitHub
parent d83c4ac407
commit 64c8be58c3
4 changed files with 5 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ self-hosted-runner:
labels:
- macos-14 # can be removed once actionlint is updated
- ubuntu-24.04 # can be removed once actionlint is updated
- MapLibre_Native_Ubuntu_22_04_ARM_8_core
# Configuration variables in array of strings defined in your repository or
# organization. `null` means disabling configuration variables check.
# Empty array means no configuration variable is allowed.

View File

@@ -76,7 +76,7 @@ jobs:
include:
- runs-on: ubuntu-22.04
arch: x86_64
- runs-on: [self-hosted, linux, ARM64]
- runs-on: MapLibre_Native_Ubuntu_22_04_ARM_8_core
arch: arm64
- runs-on: macos-14
arch: arm64

View File

@@ -46,7 +46,7 @@ jobs:
include:
- runs-on: ubuntu-22.04
arch: x86_64
- runs-on: [self-hosted, linux, ARM64]
- runs-on: MapLibre_Native_Ubuntu_22_04_ARM_8_core
arch: arm64
- runs-on: macos-14
arch: arm64

View File

@@ -34,7 +34,7 @@ class MemoryTest {
public:
MemoryTest() {
fileSource->styleResponse = [&](const Resource& res) {
auto resName = "style_" + getType(res) + ".json";
auto resName = std::string("style_") + getType(res) + ".json";
return response(resName);
};
fileSource->tileResponse = [&](const Resource& res) {
@@ -42,7 +42,7 @@ public:
return response(resName);
};
fileSource->sourceResponse = [&](const Resource& res) {
auto resName = "source_" + getType(res) + ".json";
auto resName = std::string("source_") + getType(res) + ".json";
return response(resName);
};
fileSource->glyphsResponse = [&](const Resource&) {