-
Notifications
You must be signed in to change notification settings - Fork 59
51 lines (46 loc) · 1.05 KB
/
make.yml
File metadata and controls
51 lines (46 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
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