Re: NetBSD/vax vm for github testing

Izumi Tsutsui <[email protected]>
Newsgroups gmane.os.netbsd.ports.vax
Message-ID <[email protected]>
abs@ wrote:

> I image the same could be done for NetBSD/VAX simh images - there
> should probably be a script for taking a NetBSD release .img and
> generating the simh image, but that would be an occasional task,
> rather than once per CI VM startup

I've tried a dumb but feasible CI yml (for my own emacs-18.59 repo):
 https://github.com/tsutsui/emacs-18.59-netbsd/commit/d1c42c12b6acfa4f9d14bee656cd60f812127b98
 https://github.com/tsutsui/emacs-18.59-netbsd/actions/runs/12637682769/job/35213503955

Actually it works with the following steps:
      - name: install packages to build opensimh etc.
      - name: fetch NetBSD sources and build crossbuild toolchains
      - name: fetch NetBSD/vax binary sets
      - name: create NetBSD/vax images
      - name: build opensimh
      - name: start simh
      - name: copy source tree to vm
      - name: build on simh

However it takes 24 minutes even to build ancient small emacs-18.59.
simh emulating microvax3900 on my i5-4570 NetBSD/amd64 took ~70 hours
to build perl 5.38.2 (from pkgsrc-2023Q4) so it won't finish in
6 hour github CI limit.

---
Izumi Tsutsui
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.