Skip to content

Commit

Permalink
CI Action: update openbsd build
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-naumov committed Nov 28, 2023
1 parent e7c8335 commit f28b9e7
Showing 1 changed file with 36 additions and 22 deletions.
58 changes: 36 additions & 22 deletions .github/workflows/openbsd.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,49 @@
name: OpenBSD

on:
push:
branches: [ "main", "screen-v4" ]
pull_request:
branches: [ "main", "screen-v4" ]
on: [push]

jobs:
openbsd:
runs-on: macos-12
steps:
- name: Bootstrap OpenBSD-latest
uses: mario-campos/emulate@v1
with:
operating-system: openbsd-latest
- uses: actions/checkout@v3

- name: OpenBSD Virtual Machine
uses: cross-platform-actions/[email protected]
with:
operating_system: openbsd
version: '7.4'
hypervisor: xhyve
run: |
- name: Install Dependencies
run: pkg_add gmake git automake-1.15.1
jobs:
openbsd:
runs-on: macos-12
steps:
- uses: actions/checkout@v3

- name: Build
run: |
uname -a
git clone https://github.com/alexander-naumov/screen.git
cd screen/src
export AUTOCONF_VERSION=2.71
export AUTOMAKE_VERSION=1.15
./autogen.sh
echo "> ./configure --disable-pam CFLAGS='-Wall -DDEBUG'"
./configure --disable-pam CFLAGS="-Wall -DDEBUG"
echo "> gmake"
gmake
uses: cross-platform-actions/[email protected]
with:
operating-system: openbsd
version: '7.4'
hypervisor: xhyve
run: |
uname -a
echo $SHELL
echo "> pkg_add gmake git automake-1.15.1"
pkg_add gmake git automake-1.15.1
git clone https://github.com/alexander-naumov/screen.git
cd screen/src
export AUTOCONF_VERSION=2.71
export AUTOMAKE_VERSION=1.15
./autogen.sh
echo "> ./configure --disable-pam CFLAGS='-Wall -DDEBUG'"
./configure --disable-pam CFLAGS="-Wall -DDEBUG"
echo "> gmake"
gmake
- name: Test
run: |
Expand Down

0 comments on commit f28b9e7

Please sign in to comment.