diff options
author | Norbert Preining <preining@logic.at> | 2024-02-19 10:19:44 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2024-02-19 10:19:44 +0000 |
commit | e5c3ecac7dfb79969c23f43435066c5814ce56e3 (patch) | |
tree | 4f33bb65e2b9b6c5759796dd70cb7cff90a9a52a /Build/source/.github | |
parent | db4892f213cf8ebcd3312e9895379e3a02082228 (diff) |
[GHA] first shot at openbsd
git-svn-id: svn://tug.org/texlive/trunk@69979 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/.github')
-rwxr-xr-x | Build/source/.github/scripts/build-tl.sh | 6 | ||||
-rw-r--r-- | Build/source/.github/workflows/main.yml | 13 |
2 files changed, 18 insertions, 1 deletions
diff --git a/Build/source/.github/scripts/build-tl.sh b/Build/source/.github/scripts/build-tl.sh index e9bcd5ee3ce..e03539f4055 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 libiconv libsigsegv + ;; netbsd) pkg_add gmake gcc pkgconf libX11 libXt libXaw fontconfig perl5 ;; @@ -107,6 +110,9 @@ case "$arch" in export CXX="g++ -m64" fi ;; + *-openbsd) + export TL_MAKE=gmake + ;; *-freebsd) export TL_MAKE=gmake export CC=gcc 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@v4 with: path: 'repo' + - name: build openbsd + uses: vmactions/openbsd-vm@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@v1 if: ${{ matrix.os == 'freebsd' && (matrix.ci_build || matrix.release_build) }} |