Skip to content

Merge pull request #280 from sjinks/renovate/tonistiigi-xx-latest #635

Merge pull request #280 from sjinks/renovate/tonistiigi-xx-latest

Merge pull request #280 from sjinks/renovate/tonistiigi-xx-latest #635

Workflow file for this run

name: Build
on:
push:
workflow_dispatch:
jobs:
build:
permissions:
contents: read
name: Build
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[ci skip]') || github.event_name == 'workflow_dispatch' }}
strategy:
fail-fast: true
matrix:
CPPFLAGS:
- ""
- "-DMINIMALISTIC_BUILD -DLIBSSH_STATIC=1"
steps:
- name: Check out source code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install dependencies
run: sudo apt-get -qq update && sudo apt-get install -y libssh-dev
- name: make
run: make CPPFLAGS="${{ matrix.CPPFLAGS }}" CFLAGS="-O2"