File tree Expand file tree Collapse file tree 6 files changed +85
-0
lines changed Expand file tree Collapse file tree 6 files changed +85
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ version : 2
3
+ updates :
4
+ - package-ecosystem : " github-actions"
5
+ directory : " /"
6
+ schedule :
7
+ interval : " monthly"
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -euo pipefail
3
+ if [[ -f ' /etc/os-release' ]]; then
4
+ source ' /etc/os-release'
5
+ fi
6
+ case ${ID:? } in
7
+ debian | ubuntu) sudo bash -c '
8
+ apt-get update; apt-get -y install lazarus
9
+ ' > /dev/null ;;
10
+ esac
11
+ while read -r; do
12
+ declare -i exitCode=0
13
+ mapfile -t < <(
14
+ if ! [[ ${REPLY} =~ /use/ ]] && [[ -f " ${REPLY% .* } .pas" ]]; then
15
+ if (fpc -Fuuse/mseide-msegui/lib/common/kernel/linux \
16
+ -Fuuse/mseide-msegui/lib/common/* \
17
+ -B " ${REPLY% .* } .pas" ); then
18
+ printf ' SUCCES\t\x1b[32m%s\x1b[0m\n' " ${REPLY} " >&2
19
+ printf ' exitCode:0\n'
20
+ else
21
+ printf ' ERROR\t\x1b[31m%s\x1b[0m\n' " ${REPLY} " >&2
22
+ printf ' exitCode:1\n'
23
+ fi |
24
+ grep --extended-regexp ' (Error:|Fatal:|Linking|exitCode)'
25
+ fi
26
+ )
27
+ if (( ${MAPFILE[-1]##*: } )) ; then
28
+ exitCode+=${MAPFILE[-1]##*: }
29
+ printf ' %s\n' " ${MAPFILE[@]} "
30
+ else
31
+ printf ' %s\n' " ${MAPFILE[0]} "
32
+ fi
33
+ done < <( find ' .' -type ' f' -name ' *.prj' )
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Make
3
+
4
+ on :
5
+ schedule :
6
+ - cron : ' 0 0 1 * *'
7
+ push :
8
+ branches :
9
+ - " **"
10
+ pull_request :
11
+ branches :
12
+ - master
13
+ - main
14
+
15
+ concurrency :
16
+ group : ${{ github.workflow }}-${{ github.ref }}
17
+ cancel-in-progress : true
18
+
19
+ jobs :
20
+ build :
21
+ runs-on : ${{ matrix.os }}
22
+ timeout-minutes : 120
23
+ strategy :
24
+ matrix :
25
+ os :
26
+ - ubuntu-latest
27
+
28
+ steps :
29
+ - name : Checkout
30
+ uses : actions/checkout@v4
31
+ with :
32
+ submodules : true
33
+
34
+ - name : Build on Linux
35
+ if : runner.os == 'Linux'
36
+ shell : bash
37
+ run : bash .github/workflows/make.sh
Original file line number Diff line number Diff line change
1
+ [submodule "use/mseide-msegui "]
2
+ path = use/mseide-msegui
3
+ url = git@github.com:mse-org/mseide-msegui.git
4
+ [submodule "use/bgrabitmap "]
5
+ path = use/bgrabitmap
6
+ url = git@github.com:bgrabitmap/bgrabitmap.git
You can’t perform that action at this time.
0 commit comments