From 9de92235785db2b03e8e1a46c49035486148fcf3 Mon Sep 17 00:00:00 2001 From: Andreas T Jonsson Date: Thu, 2 May 2024 14:38:54 +0200 Subject: [PATCH] Use custom llvm binaries --- .github/workflows/ci.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07e89f3fb..2a5910b88 100644 --- a/.github/workflows/ci.yml +++ b/.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)