From c6d84ca887aae6678c12c2437c5cb61eddb4ab37 Mon Sep 17 00:00:00 2001 From: Li Jie Date: Thu, 22 Oct 2026 05:42:06 +0800 Subject: [PATCH 1/3] ci: test the minimum supported LLGo 1.0.8 release --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 851e5954..f7eb735a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -45,8 +45,8 @@ jobs: uses: actions/checkout@v4 with: repository: xgo-dev/llgo - # Native variable support from xgo-dev/llgo#2882 (immutable compiler pin). - ref: dbce82ab63e3c165689027dfd244140212791b53 + # Test the minimum supported LLGo release (>= 1.0.8). + ref: v1.0.8 path: .llgo - name: Set up LLGo dependencies From 8ba97f496b9cb878983a92e773650e988ea389ac Mon Sep 17 00:00:00 2001 From: Li Jie Date: Thu, 22 Oct 2026 05:49:10 +0800 Subject: [PATCH 2/3] ci: run LLGo 1.0.8 bindings on Ubuntu 24.04 --- .github/workflows/go.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f7eb735a..0d153d4b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -31,7 +31,8 @@ jobs: fail-fast: false matrix: os: - - ubuntu-latest + # LLGo 1.0.8's setup action uses apt-key and Python 3.12 packages. + - ubuntu-24.04 - macos-latest steps: - uses: actions/checkout@v4 From b543fdd86dcc3b4ee14e5daa44ea13ec77ef61fe Mon Sep 17 00:00:00 2001 From: Li Jie Date: Thu, 22 Oct 2026 06:00:44 +0800 Subject: [PATCH 3/3] ci: pin the LLGo 1.0.8 release commit and clarify LLVM check --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0d153d4b..68a819da 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -47,7 +47,7 @@ jobs: with: repository: xgo-dev/llgo # Test the minimum supported LLGo release (>= 1.0.8). - ref: v1.0.8 + ref: c171abfa130108bc6451e01fcf15a8a3474eb0a7 # v1.0.8 path: .llgo - name: Set up LLGo dependencies @@ -58,7 +58,7 @@ jobs: - name: Build LLGo working-directory: .llgo run: | - # Use the LLVM binding version declared by the pinned compiler. + # Assert llvm-config matches the LLVM 22 required by LLGo v1.0.8. llvm_version="$(llvm-config --version)" test "${llvm_version%%.*}" = 22 export CGO_CPPFLAGS="$(llvm-config --cflags)"