File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build CI-specific versions
2+
3+ on : [push, pull_request, workflow_dispatch]
4+
5+ permissions :
6+ contents : read
7+
8+ jobs :
9+ build_linux :
10+ runs-on : ubuntu-22.04
11+ env :
12+ FPC_LIBRARY_PATH : /usr/lib/x86_64-linux-gnu
13+ steps :
14+ - uses : actions/checkout@v4
15+ with :
16+ submodules : recursive
17+ - name : Update Ubuntu packages
18+ run : sudo apt-get update
19+ - name : Set up Ubuntu packages
20+ run : sudo apt-get install -y fp-compiler-3.2.2 fp-units-base-3.2.2 fp-units-fcl-3.2.2 fp-units-net-3.2.2 fp-units-rtl-3.2.2 fp-utils-3.2.2 git zip libsdl2-dev
21+ - name : Build
22+ run : ./UNIX_BUILD34.sh _Linux_x64
23+ - name : Archive artifact
24+ uses : actions/upload-artifact@v4
25+ with :
26+ name : Weave (Linux, x86_64)
27+ path : W34UNIX/**
28+
29+ build_linux_aarch64 :
30+ runs-on : ubuntu-22.04-arm
31+ env :
32+ FPC_LIBRARY_PATH : /usr/lib/aarch64-linux-gnu
33+ steps :
34+ - uses : actions/checkout@v4
35+ with :
36+ submodules : recursive
37+ - name : Update Ubuntu packages
38+ run : sudo apt-get update
39+ - name : Set up Ubuntu packages
40+ run : sudo apt-get install -y fp-compiler-3.2.2 fp-units-base-3.2.2 fp-units-fcl-3.2.2 fp-units-net-3.2.2 fp-units-rtl-3.2.2 fp-utils-3.2.2 git zip libsdl2-dev
41+ - name : Build
42+ run : ./UNIX_BUILD34.sh _Linux_aarch64
43+ - name : Archive artifact
44+ uses : actions/upload-artifact@v4
45+ with :
46+ name : Weave (Linux, AArch64)
47+ path : W34UNIX/**
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ if [ ! -d BUILD ]; then
3+ mkdir BUILD
4+ fi
5+ if [ ! -d W34UNIX ]; then
6+ mkdir W34UNIX
7+ fi
8+ rm -r W34UNIX/*
9+ cd SRC_W34
10+ fpc @fpc.sdl2.cfg ZZT.PAS
11+ cp ZZT ../W34UNIX/Weave" $1 "
12+ cd ..
13+
14+ cp -aR EXAMPLES W34UNIX/EXAMPLES
15+ cp LICENSE.TXT W34UNIX/
16+ cp OOP-QR.txt W34UNIX/
17+ cp README.MD W34UNIX/
18+ cp THE_WEAVE_MANUAL.txt W34UNIX/
19+ cp W-START.CFG W34UNIX/
20+ cp W-START.zzt W34UNIX/
21+ cp WEAVE.CFG W34UNIX/
22+
23+ mkdir W34UNIX/UTILS
24+ cp TOOLS/* .zip W34UNIX/UTILS/
You can’t perform that action at this time.
0 commit comments