mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 14:18:47 +00:00
Use pkgsrc llvm for NetBSD CI
This commit is contained in:
@@ -6,7 +6,7 @@ jobs:
|
|||||||
name: NetBSD Build, Check, and Test
|
name: NetBSD Build, Check, and Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
PKGSRC_BRANCH: 2024Q1
|
PKGSRC_BRANCH: 2024Q2
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Build, Check, and Test
|
- name: Build, Check, and Test
|
||||||
@@ -19,10 +19,7 @@ jobs:
|
|||||||
copyback: false
|
copyback: false
|
||||||
prepare: |
|
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
|
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 gmake git bash python311
|
pkgin -y in gmake git bash python311 llvm clang
|
||||||
pkgin -y in libxml2 perl zstd
|
|
||||||
/usr/sbin/pkg_add https://github.com/andreas-jonsson/llvm17-netbsd-bin/releases/download/pkgsrc-current/llvm-17.0.6.tgz
|
|
||||||
/usr/sbin/pkg_add https://github.com/andreas-jonsson/llvm17-netbsd-bin/releases/download/pkgsrc-current/clang-17.0.6.tgz
|
|
||||||
ln -s /usr/pkg/bin/python3.11 /usr/bin/python3
|
ln -s /usr/pkg/bin/python3.11 /usr/bin/python3
|
||||||
run: |
|
run: |
|
||||||
git config --global --add safe.directory $(pwd)
|
git config --global --add safe.directory $(pwd)
|
||||||
|
|||||||
Reference in New Issue
Block a user