aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2024-08-12 20:58:41 +0200
committerGitHub <noreply@github.com>2024-08-12 20:58:41 +0200
commit053e65a1c835a50fdbd12da1ca20fa4773f7ea13 (patch)
tree962924ef9fae58beccf8395bb14c2e600c5fff8a
parentd68cc41782bb0edecc2978001d67a07ca55e2449 (diff)
parent7af0291c7dcda5f16fdc1fe9b83b966df5a03a1b (diff)
Merge pull request #4071 from andreas-jonsson/andreas-jonsson-patch-2
Use another URL for pkgsrc on CI
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 180941e26..598fa536a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,9 +3,10 @@ on: [push, pull_request, workflow_dispatch]
jobs:
build_netbsd:
- if: false
name: NetBSD Build, Check, and Test
runs-on: ubuntu-latest
+ env:
+ PKGSRC_BRANCH: 2024Q2
steps:
- uses: actions/checkout@v4
- name: Build, Check, and Test
@@ -13,10 +14,11 @@ jobs:
uses: vmactions/netbsd-vm@v1
with:
release: "10.0"
+ envs: PKGSRC_BRANCH
usesh: true
copyback: false
prepare: |
- PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All" /usr/sbin/pkg_add pkgin
+ PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/$(uname -r | cut -d_ -f1)_${PKGSRC_BRANCH}/All" /usr/sbin/pkg_add pkgin
pkgin -y in gmake git bash python311 llvm clang
ln -s /usr/pkg/bin/python3.11 /usr/bin/python3
run: |