From 54941a7702c3b5bdeba31d83d8fc961eead3b676 Mon Sep 17 00:00:00 2001 From: Kbz-8 Date: Tue, 7 Jul 2026 02:07:49 +0200 Subject: [PATCH] fixing CI --- .gitea/workflows/Build.yml | 22 ++++++++++++++++++++-- .gitea/workflows/Test.yml | 22 ++++++++++++++++++++-- 2 files changed, 40 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/Build.yml b/.gitea/workflows/Build.yml index aa63edf..1e78b0a 100644 --- a/.gitea/workflows/Build.yml +++ b/.gitea/workflows/Build.yml @@ -20,14 +20,32 @@ jobs: - name: Install MPSS run: | + set -eux + apt-get update apt-get install -y unzip curl + curl -fsSL "https://drive.kbz8.me/dav/public-files/KSKeiOKxnFPyfws/mpss.zip" -o /tmp/mpss.zip + rm -rf /opt/mpss unzip -q /tmp/mpss.zip -d /opt chmod -R a+rX /opt/mpss - test -d /opt/mpss/3.8.6/sysroots/k1om-mpss-linux/bin - echo "/opt/mpss/3.8.6/sysroots/k1om-mpss-linux/bin" >> "$GITHUB_PATH" + + MPSS_BIN="/opt/mpss/3.8.6/sysroots/k1om-mpss-linux/bin" + + test -d "$MPSS_BIN" + + echo "$MPSS_BIN" >> "$GITHUB_PATH" + + echo "MPSS installed at:" + ls -la /opt/mpss/3.8.6 + echo "MPSS bin:" + ls -la "$MPSS_BIN" | head -50 + + - name: Check MPSS PATH + run: | + echo "$PATH" + ls -la /opt/mpss/3.8.6/sysroots/k1om-mpss-linux/bin | head -50 - name: Building Ape run: zig build ape --release=safe diff --git a/.gitea/workflows/Test.yml b/.gitea/workflows/Test.yml index 6e2497e..6e867ba 100644 --- a/.gitea/workflows/Test.yml +++ b/.gitea/workflows/Test.yml @@ -17,14 +17,32 @@ jobs: - name: Install MPSS run: | + set -eux + apt-get update apt-get install -y unzip curl + curl -fsSL "https://drive.kbz8.me/dav/public-files/KSKeiOKxnFPyfws/mpss.zip" -o /tmp/mpss.zip + rm -rf /opt/mpss unzip -q /tmp/mpss.zip -d /opt chmod -R a+rX /opt/mpss - test -d /opt/mpss/3.8.6/sysroots/k1om-mpss-linux/bin - echo "/opt/mpss/3.8.6/sysroots/k1om-mpss-linux/bin" >> "$GITHUB_PATH" + + MPSS_BIN="/opt/mpss/3.8.6/sysroots/k1om-mpss-linux/bin" + + test -d "$MPSS_BIN" + + echo "$MPSS_BIN" >> "$GITHUB_PATH" + + echo "MPSS installed at:" + ls -la /opt/mpss/3.8.6 + echo "MPSS bin:" + ls -la "$MPSS_BIN" | head -50 + + - name: Check MPSS PATH + run: | + echo "$PATH" + ls -la /opt/mpss/3.8.6/sysroots/k1om-mpss-linux/bin | head -50 - name: Ape Tests run: zig build test-ape --release=safe