Skip to content

Commit

Permalink
add gcc install flow for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-naumov committed May 2, 2024
1 parent 4bd1b2c commit d475625
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
File renamed without changes.
52 changes: 52 additions & 0 deletions .github/workflows/freebsd_13_0_x86_64_gcc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: FreeBSD 13.0 x86_64

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
freebsd:
runs-on: macos-12
steps:
- name: Bootstrap FreeBSD-latest
uses: mario-campos/emulate@v1
with:
operating-system: freebsd-latest

- name: Install Dependencies
run: pkg install -y gmake print/texinfo git gcc autoconf indexinfo automake

- name: Build
run: |
uname -a
git clone https://github.com/alexander-naumov/gnu-screen.git
cd screen/src
#export AUTOCONF_VERSION=2.69
#export AUTOMAKE_VERSION=1.15
echo "> ./autogen.sh"
./autogen.sh
echo "> gcc -v"
gcc -v
echo "> cc=gcc ./configure --disable-pam CFLAGS='-Wall'"
cc=gcc ./configure --disable-pam CFLAGS='-Wall'
echo "> gmake"
gmake
- name: DEBUG build
run: |
echo "> cc=gcc ./configure CFLAGS='-Wall -DDEBUG'"
cc=gcc ./configure CFLAGS='-Wall -DDEBUG'
echo "> gmake"
gmake
- name: Test
run: |
cd screen/src
echo "> pwd"
pwd
echo "> screen -v"
./screen -v
echo "> screen --help"
./screen -help

0 comments on commit d475625

Please sign in to comment.