Forráskód Böngészése

Use custom llvm binaries

Andreas T Jonsson 1 éve
szülő
commit
9de9223578
1 módosított fájl, 9 hozzáadás és 4 törlés
  1. 9 4
      .github/workflows/ci.yml

+ 9 - 4
.github/workflows/ci.yml

@@ -9,8 +9,8 @@ jobs:
       PKGSRC_BRANCH: 2024Q1
     steps:
     - uses: actions/checkout@v4
-    - name: Build and Test
-      id: netbsd
+    - name: Build, Check, and Test
+      timeout-minutes: 25
       uses: vmactions/netbsd-vm@v1
       with:
         release: "10.0"
@@ -19,12 +19,17 @@ jobs:
         copyback: false
         prepare: |
           PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r | cut -d_ -f1)_${PKGSRC_BRANCH}/All" /usr/sbin/pkg_add pkgin
-          pkgin -y in llvm clang gmake git bash python312
-          ln -s /usr/pkg/bin/python3.12 /usr/bin/python3
+          pkgin -y in gmake git bash python311
+          pkgin -y in libxml2 perl5 zstd
+          /usr/sbin/pkg_add https://github.com/andreas-jonsson/llvm17-netbsd-bin/releases/download/pkgsrc-current/llvm-17.0.6.tgz
+          ln -s /usr/pkg/bin/python3.11 /usr/bin/python3
           ln -s /usr/pkg/bin/bash /bin/bash
         run: |
           git config --global --add safe.directory $(pwd)
           gmake release
+          ./odin version
+          ./odin report
+          ./odin check examples/demo -vet
           (cd tests/core; gmake all_bsd)
           (cd tests/internal; gmake all_bsd)
           (cd tests/issues; ./run.sh)