Skip to content

Commit

Permalink
* rebuild.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg-N-Cher committed Jan 4, 2025
1 parent ef3672a commit b9f76c5
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
git add Target/macOS/Bin/.cirrus.yml
git add Target/Linux_aarch64/Bin/.cirrus.yml
git add Target/FreeBSD_amd64/Bin/.cirrus.yml
git add Target/Linux_i386/Bin/.cirrus.yml
mv Target/Linux_amd64/Bin/cc-bootstrap .
git add cc-bootstrap
git -c user.name='zorko' -c user.email='zorko@vedasoft' commit -m "o2c #$GITHUB_RUN_NUMBER"
Expand Down
Binary file added OfrontPlus-bootstrap-master.zip
Binary file not shown.
3 changes: 2 additions & 1 deletion Target/FreeBSD_amd64/Bin/.cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ freebsd_task:
mv ofront+ Target/FreeBSD_amd64
mv omake Target/FreeBSD_amd64
mv showdef Target/FreeBSD_amd64
git rm .cirrus.yml
mv Target/Linux_i386/Bin/.cirrus.yml .
git add .cirrus.yml
git add Target
git -c user.name='zorko' -c user.email='zorko@vedasoft' commit -m "cc #$CIRRUS_OS"
git push -q https://Oleg-N-Cher:[email protected]/Oleg-N-Cher/OfrontPlus-bootstrap.git HEAD:master
Expand Down
4 changes: 2 additions & 2 deletions Target/Linux_amd64/Bin/cc-bootstrap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

CC="cc -fPIC -I. -Os -g0 -fomit-frame-pointer -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections -c"
CC="cc $1 -fPIC -I. -Os -g0 -fomit-frame-pointer -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections -c"
AR="ar -rc libOfront.a"

## Ofront+
Expand Down Expand Up @@ -66,7 +66,7 @@ $AR bbKernel.o bbMath.o bbStrings.o

rm *.o

CC="cc -I. -L. -s -Os -g0 -fvisibility=hidden -fomit-frame-pointer -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables"
CC="cc $1 -I. -L. -s -Os -g0 -fvisibility=hidden -fomit-frame-pointer -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables"

$CC -c OfrontErrors.c OfrontOPM.c OfrontOPS.c OfrontOPT.c OfrontOPB.c OfrontOPP.c OfrontOPC.c OfrontOPV.c
if [ $? != 0 ]; then exit 1; fi
Expand Down
26 changes: 26 additions & 0 deletions Target/Linux_i386/Bin/.cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
linux_x86_task:
container:
cpu: 4
memory: 4G
image: gcc:latest
environment:
CIRRUS_KEY: ENCRYPTED[0d928cf2f2b4e912a319e684389a48e71ef890d05fea5287ab4b26adc25093395010d777f7ab56cefeb0458b9667cb5a]
timeout_in: 10m
install_script: dpkg --add-architecture i386 && apt-get update && apt-get install -y gcc-12-base:i386 libc6-dev:i386 gcc-multilib
script: |
chmod +x cc-bootstrap
cd unix-44
../cc-bootstrap -m32
cd ..
mkdir -p Target/Linux_i386
mv graphviz Target/Linux_i386
mv ocat Target/Linux_i386
mv odc2txt Target/Linux_i386
mv oef Target/Linux_i386
mv ofront+ Target/Linux_i386
mv omake Target/Linux_i386
mv showdef Target/Linux_i386
git rm .cirrus.yml
git add Target
git -c user.name='zorko' -c user.email='zorko@vedasoft' commit -m "cc #linux_x86"
git push -q https://Oleg-N-Cher:[email protected]/Oleg-N-Cher/OfrontPlus-bootstrap.git HEAD:master &>/dev/null
Binary file modified Target/Win64/ofront+.exe
Binary file not shown.

0 comments on commit b9f76c5

Please sign in to comment.