From 4054b705eada2c7df092b8b55fb2cb935e4b377a Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Sun, 8 Mar 2026 17:47:14 +0800 Subject: [PATCH 1/3] update ci, enable xlings install feature --- .github/workflows/ci.yml | 7 ++----- .github/workflows/release.yml | 6 ++---- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6172de3..27a130d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,9 +36,7 @@ jobs: - name: Install Project Dependencies via Xlings run: | - #xlings install - cd .. - xlings install xmake@3.0.7 gcc@15 openssl@3.1.5 -y + xlings install - name: Build with xmake @@ -71,8 +69,7 @@ jobs: - name: Install Project Dependencies via Xlings run: | - cd .. - xlings install xmake@3.0.7 llvm@20 -y + xlings install clang --version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 45d6ff7..ca1a6ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,8 +38,7 @@ jobs: - name: Install Project Dependencies via Xlings run: | - cd .. - xlings install xmake@3.0.7 gcc@15 openssl@3.1.5 -y + xlings install - name: Build with xmake run: | @@ -80,8 +79,7 @@ jobs: - name: Install Project Dependencies via Xlings run: | - cd .. - xlings install xmake@3.0.7 llvm@20 -y + xlings install clang --version - name: Build with xmake From 638f6186527236a69e38f67fa9107d45e5466826 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Sun, 8 Mar 2026 18:53:05 +0800 Subject: [PATCH 2/3] update ci --- .github/workflows/ci.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27a130d..a706324 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,8 +44,10 @@ jobs: xmake f -m release -vv -y xmake -j$(nproc) - - name: Verify d2x --version - run: ./build/linux/x86_64/release/d2x --version + - name: Verify d2x + run: | + ./build/linux/x86_64/release/d2x --version + ./build/linux/x86_64/release/d2x new hello build-macos: runs-on: macos-15 @@ -78,8 +80,10 @@ jobs: xmake f -m release --toolchain=llvm -vv -y xmake -j$(nproc) - - name: Verify d2x --version - run: ./build/macosx/arm64/release/d2x --version + - name: Verify d2x + run: | + ./build/macosx/arm64/release/d2x --version + ./build/macosx/arm64/release/d2x new hello build-windows: runs-on: windows-latest @@ -97,5 +101,7 @@ jobs: xmake f -m release -y xmake -j$env:NUMBER_OF_PROCESSORS - - name: Verify d2x --version - run: build\windows\x64\release\d2x.exe --version \ No newline at end of file + - name: Verify d2x + run: | + build\windows\x64\release\d2x.exe --version + build\windows\x64\release\d2x.exe new hello \ No newline at end of file From b70eede4f66771531f54cb80123e328a40868fbf Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Sun, 8 Mar 2026 18:57:07 +0800 Subject: [PATCH 3/3] update ci --- .xlings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.xlings.json b/.xlings.json index 3fb332f..232895a 100644 --- a/.xlings.json +++ b/.xlings.json @@ -3,6 +3,6 @@ "xmake": "3.0.7", "gcc": { "linux": "15.1.0" }, "openssl": { "linux": "3.1.5" }, - "llvm": { "macos": "20" } + "llvm": { "macosx": "20" } } } \ No newline at end of file