Skip to content

Build

Build #121

Workflow file for this run

name: Build
on:
push:
branches:
- main
paths:
- '**'
- '!*.md'
pull_request:
paths:
- '**'
- '!*.md'
schedule:
- cron: '0 1 * * *'
jobs:
build:
name: Build and run GEP on Ubuntu 24.04 (${{ matrix.runner == 'ubuntu-24.04-arm' && 'aarch64' || 'x86_64' }})
strategy:
fail-fast: false
matrix:
runner: [ubuntu-24.04, ubuntu-24.04-arm]
runs-on: ${{ matrix.runner }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Build
run: |
sudo apt-get update && sudo apt-get install -y git gdb python3 python3-pip python3-venv tmux
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install --all
./install.sh
- name: Check GEP is running normally
run: |
gdb --version
export PATH=~/.fzf/bin:$PATH
tmux new-session -d -s check gdb -q
sleep 5
OUTPUT=$(tmux capture-pane -p -t check)
echo $OUTPUT
grep -q "GEP is running" <(echo "$OUTPUT")
! grep -q "Install fzf for better experience with GEP" <(echo "$OUTPUT")