[tlbuild] running TL24 pretest on OpenBSD

Norbert Preining norbert at preining.info
Mon Feb 19 06:06:42 CET 2024


Hi Robert,

> Could you send patches against
> 	https://github.com/TeX-Live/texlive-source/blob/trunk/.github/scripts/build-tl.sh
> that would be great! I am trying to collect there all ways to build

What about that?


diff --git a/Build/source/.github/scripts/build-tl.sh b/Build/source/.github/scripts/build-tl.sh
index e9bcd5ee3ce..8b39d2c9bf5 100755
--- a/Build/source/.github/scripts/build-tl.sh
+++ b/Build/source/.github/scripts/build-tl.sh
@@ -45,6 +45,9 @@ then
      freebsd)
        env ASSUME_ALWAYS_YES=YES pkg install -y gmake gcc pkgconf libX11 libXt libXaw fontconfig perl5
        ;;
+     openbsd)
+       pkg_add gmake gcc pkgconf libX11 libXt libXaw fontconfig perl5
+       ;;
      netbsd)
        pkg_add gmake gcc pkgconf libX11 libXt libXaw fontconfig perl5
        ;;
diff --git a/Build/source/.github/workflows/main.yml b/Build/source/.github/workflows/main.yml
index 3472666bcc0..4563d2b7215 100644
--- a/Build/source/.github/workflows/main.yml
+++ b/Build/source/.github/workflows/main.yml
@@ -130,10 +130,12 @@ jobs:
       fail-fast: false
       matrix: 
         arch: [ i386, amd64 ]
-        os: [ freebsd, solaris ]
+        os: [ openbsd, freebsd, solaris ]
         release_build: 
           - ${{ startsWith(github.ref, 'refs/tags/') }}
         include:
+          - os: openbsd
+            ci_build: true
           - os: freebsd
             ci_build: true
           - os: solaris
@@ -144,6 +146,15 @@ jobs:
         uses: actions/checkout at v4
         with:
           path: 'repo'
+      - name: build openbsd
+        uses: vmactions/openbsd-vm at v1
+        if: ${{ matrix.os == 'openbsd' && (matrix.ci_build || matrix.release_build) }}
+        with: 
+          release: '7.4'
+          usesh: true
+          run: |
+            cd repo
+            sh .github/scripts/build-tl.sh ${{ matrix.arch }}-${{ matrix.os }} ${{ matrix.os }}
       - name: build freebsd
         uses: vmactions/freebsd-vm at v1
         if: ${{ matrix.os == 'freebsd' && (matrix.ci_build || matrix.release_build) }}


Any suggestions or should I just try it?

Best regards

Norbert

--
PREINING Norbert                              https://www.preining.info
arXiv / Cornell University   +   IFMGA Guide   +   TU Wien  +  TeX Live
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


More information about the tlbuild mailing list.