diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 851e5954..68a819da 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 @@ -45,8 +46,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: c171abfa130108bc6451e01fcf15a8a3474eb0a7 # v1.0.8 path: .llgo - name: Set up LLGo dependencies @@ -57,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)"