texlive[69979] Build/source/.github: [GHA] first shot at openbsd
commits+preining at tug.org
commits+preining at tug.org
Mon Feb 19 11:19:44 CET 2024
Revision: 69979
https://tug.org/svn/texlive?view=revision&revision=69979
Author: preining
Date: 2024-02-19 11:19:44 +0100 (Mon, 19 Feb 2024)
Log Message:
-----------
[GHA] first shot at openbsd
Modified Paths:
--------------
trunk/Build/source/.github/scripts/build-tl.sh
trunk/Build/source/.github/workflows/main.yml
Modified: trunk/Build/source/.github/scripts/build-tl.sh
===================================================================
--- trunk/Build/source/.github/scripts/build-tl.sh 2024-02-19 02:23:39 UTC (rev 69978)
+++ trunk/Build/source/.github/scripts/build-tl.sh 2024-02-19 10:19:44 UTC (rev 69979)
@@ -45,6 +45,9 @@
freebsd)
env ASSUME_ALWAYS_YES=YES pkg install -y gmake gcc pkgconf libX11 libXt libXaw fontconfig perl5
;;
+ openbsd)
+ pkg_add gmake libiconv libsigsegv
+ ;;
netbsd)
pkg_add gmake gcc pkgconf libX11 libXt libXaw fontconfig perl5
;;
@@ -107,6 +110,9 @@
export CXX="g++ -m64"
fi
;;
+ *-openbsd)
+ export TL_MAKE=gmake
+ ;;
*-freebsd)
export TL_MAKE=gmake
export CC=gcc
Modified: trunk/Build/source/.github/workflows/main.yml
===================================================================
--- trunk/Build/source/.github/workflows/main.yml 2024-02-19 02:23:39 UTC (rev 69978)
+++ trunk/Build/source/.github/workflows/main.yml 2024-02-19 10:19:44 UTC (rev 69979)
@@ -130,10 +130,12 @@
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 @@
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) }}
More information about the tex-live-commits
mailing list.