Skip to content

Commit c7d3ef7

Browse files
authored
[mac-ai] Keep working on the periodic testing (#786)
2 parents 80c5b76 + 5ae97b7 commit c7d3ef7

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

projects/mac_ai/testing/images/llama_cpp.containerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ARG BUILD_FLAVOR="default"
55
ARG MESA_VERSION=24.2.8-104
66

77
RUN if [[ ${BUILD_FLAVOR} != remoting ]]; then \
8+
dnf update && \
89
dnf install -y python3-dnf-plugin-versionlock && \
910
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
1011
dnf copr enable -y slp/mesa-krunkit epel-9-aarch64 && \
@@ -19,6 +20,7 @@ RUN if [[ ${BUILD_FLAVOR} != remoting ]]; then \
1920
# for API Remoting
2021

2122
RUN if [[ ${BUILD_FLAVOR} == remoting ]]; then \
23+
dnf update && \
2224
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
2325
dnf install -y git cmake gcc gcc-c++ libdrm-devel; \
2426
fi

projects/mac_ai/testing/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ class Entrypoint:
100100

101101
def __init__(self):
102102
self.pre_cleanup_ci = cleanup_ci
103+
self.post_cleanup_ci = cleanup_ci
103104
self.prepare_ci = prepare_ci
104105
self.test_ci = test_ci
105106

testing/run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ ci_banner() {
4444
git show --quiet --oneline ${PULL_BASE_SHA:-}..${PULL_PULL_SHA:-} 2>/dev/null \
4545
|| echo "WARNING: Could not access git history (${PULL_BASE_SHA:-}..${PULL_PULL_SHA:-}) ..."
4646
else
47-
echo "WARNING: PULL_BASE_SHA=${PULL_BASE_SHA:-} and/or PULL_PULL_SHA=${PULL_PULL_SHA:-} not set. Showing the commits from main."
48-
git show --quiet --oneline main.. \
47+
echo "WARNING: PULL_BASE_SHA=${PULL_BASE_SHA:-} and/or PULL_PULL_SHA=${PULL_PULL_SHA:-} not set. Showing the last commits from main."
48+
git show --quiet --oneline main.. | head 10\
4949
|| echo "WARNING: Could not access git history (main..) ..."
5050
fi
5151
fi

0 commit comments

Comments
 (0)