Skip to content

Commit 9c5eca4

Browse files
authored
Merge pull request #85 from rbrich/renovate/xterm-monorepo
Update xterm monorepo
2 parents efc53d5 + 57136e8 commit 9c5eca4

File tree

4 files changed

+17
-16
lines changed

4 files changed

+17
-16
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ jobs:
5252
cc: gcc-10
5353
cxx: g++-10
5454
build_args: "--minsize --unity"
55-
- os: macos-10.15
55+
- os: macos-11
5656
name: "Clang 13 / Release"
5757
clang: brew
58-
os_target: "10.15"
58+
os_target: "11.0"
5959
build_args: "--precache-deps"
6060
- os: macos-11
6161
name: "AppleClang / Release"
@@ -117,8 +117,8 @@ jobs:
117117
elif [[ "$RUNNER_OS" == "macOS" ]]; then
118118
brew install ccache ninja glfw doxygen google-benchmark hyperscan harfbuzz freetype
119119
if [[ "${{ matrix.clang }}" == "brew" ]] ; then
120-
export CC="$(brew --prefix llvm)/bin/clang"
121-
export CXX="$(brew --prefix llvm)/bin/clang++"
120+
export CC="$(brew --prefix llvm@13)/bin/clang"
121+
export CXX="$(brew --prefix llvm@13)/bin/clang++"
122122
echo "CC='$CC'" >> $GITHUB_ENV
123123
echo "CXX='$CXX'" >> $GITHUB_ENV
124124
fi

build.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,14 @@ if phase deps; then
276276
(
277277
run cd "${BUILD_DIR}"
278278

279-
if [[ ! -f 'system_deps.txt' ]] ; then
280-
echo 'Checking for preinstalled dependencies...'
281-
"${PYTHON}" "${ROOT_DIR}/detect_system_deps.py" "${DETECT_ARGS[@]}" | tee 'system_deps.txt'
279+
if [[ "$EMSCRIPTEN" -eq 0 ]]; then
280+
if [[ ! -f 'system_deps.txt' ]] ; then
281+
echo 'Checking for preinstalled dependencies...'
282+
"${PYTHON}" "${ROOT_DIR}/detect_system_deps.py" "${DETECT_ARGS[@]}" | tee 'system_deps.txt'
283+
fi
284+
# shellcheck disable=SC2207
285+
CONAN_ARGS+=($(tail -n1 'system_deps.txt'))
282286
fi
283-
# shellcheck disable=SC2207
284-
CONAN_ARGS+=($(tail -n1 'system_deps.txt'))
285287

286288
run conan install "${ROOT_DIR}" \
287289
--build missing \
@@ -298,7 +300,7 @@ if phase config; then
298300
[[ "$EMSCRIPTEN" -eq 1 ]] && WRAPPER=emcmake
299301
run cd "${BUILD_DIR}"
300302
# shellcheck disable=SC2207
301-
CMAKE_ARGS+=($(tail -n2 'system_deps.txt' | head -n1))
303+
[[ "$EMSCRIPTEN" -eq 0 ]] && CMAKE_ARGS+=($(tail -n2 'system_deps.txt' | head -n1))
302304
XCI_CMAKE_COLORS=1 run ${WRAPPER} cmake "${ROOT_DIR}" \
303305
"${CMAKE_ARGS[@]}" \
304306
-D"CMAKE_BUILD_TYPE=${BUILD_TYPE}" \

docker/emscripten/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ RUN conan config set general.revisions_enabled=1
2323

2424
# Preinstall Conan deps
2525
ENV XCIKIT=/home/builder/xcikit
26-
COPY --chown=builder build.sh detect_system_deps.py precache_upstream_deps.py \
27-
conanfile.py conandata.yml VERSION $XCIKIT/
28-
RUN $XCIKIT/build.sh deps --precache-deps --emscripten script
29-
RUN $XCIKIT/build.sh deps --precache-deps --emscripten script --debug
26+
COPY --chown=builder build.sh detect_system_deps.py conanfile.py conandata.yml VERSION $XCIKIT/
27+
RUN $XCIKIT/build.sh deps --emscripten script
28+
RUN $XCIKIT/build.sh deps --emscripten script --debug
3029

3130
# Preinstall Emscripten ports (it has no explicit install command, workaround...)
3231
RUN echo "int main(){}" > ~/dummy.c

extras/fire_script_js/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"dependencies": {
3-
"xterm": "4.18.0",
3+
"xterm": "4.19.0",
44
"xterm-addon-fit": "0.5.0",
5-
"xterm-addon-web-links": "0.5.1"
5+
"xterm-addon-web-links": "0.6.0"
66
},
77
"devDependencies": {
88
"webpack": "5.73.0",

0 commit comments

Comments
 (0)