| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- ---
- name: Make
- on:
- schedule:
- - cron: '0 0 1 * *'
- push:
- branches:
- - "**"
- pull_request:
- branches:
- - master
- - main
- concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
- jobs:
- build:
- runs-on: ${{ matrix.os }}
- timeout-minutes: 120
- strategy:
- matrix:
- os:
- - ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v6
- with:
- submodules: true
- - name: Build
- shell: bash
- run: |
- set -xeuo pipefail
- sudo bash -c '
- apt-get update
- apt-get install -y lazarus lib{gnutls28,curl4-gnutls}-dev
- ' >/dev/null
- mkdir -p libsagui/build
- if pushd libsagui/build; then
- cmake -DCMAKE_C_COMPILER=clang ..
- make && sudo make sagui install/strip && sudo ldconfig
- if popd; then
- instantfpc -Fu/usr/lib/lazarus/*/components/lazutils \
- -B '.github/workflows/make.pas'
- pushd Test && bash RunAllTests.sh
- fi
- fi
|