mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-17 16:38:22 +00:00
Use custom llvm binaries
This commit is contained in:
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user