--- 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