Skip to content

Commit c7c6d47

Browse files
committed
Random backup
1 parent 4373421 commit c7c6d47

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.github/workflows/cross.yaml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
include:
9494
- target: { triple: sh4-linux-gnu, flags: '-O1' }
9595
compiler: { ver: '13', osver: '24.04' }
96-
- target: { triple: sh4-linux-gnu, flags: '-O2' }
96+
- target: { triple: sh4-linux-gnu, flags: '-O1' }
9797
compiler: { ver: '14', osver: '24.04' }
9898

9999
defaults:
@@ -102,17 +102,26 @@ jobs:
102102

103103
- name: Machine Information
104104
run: |
105-
lscpu; free -h; df -h .
105+
# Bash Script
106+
exec 2>&1; set -x
107+
lscpu; free -h; df -H .
106108
- name: System Information
107109
run: |
108-
date; uname -a; uptime; cat /etc/os-release; ls -C /boot || :
110+
# Bash Script
111+
date; uname -a; uptime
112+
exec 2>&1; set -x
113+
systemd-detect-virt; cat /etc/os-release; ls -C /boot || :
109114
- name: Context Information
110115
run: |
111-
tty || :; id; printf %s\\n "$SHELL"; printf %s\\n "$PATH"; pwd
116+
# Bash Script
117+
tty || :; id; printf %s\\n "SHELL=$SHELL" "PATH=$PATH"
118+
exec 2>&1; set -x
119+
pwd
112120
113121
- name: Setup
114122
run: |
115-
set -x
123+
# Bash Script
124+
exec 2>&1; set -x
116125
sudo apt-get update
117126
sudo apt-get install g++-${{matrix.compiler.ver}}-${{matrix.target.triple}} qemu-user
118127
@@ -145,8 +154,9 @@ jobs:
145154
make -j5 run \
146155
GCC='${{matrix.target.triple}}-gcc-${{matrix.compiler.ver}}' \
147156
GXX='${{matrix.target.triple}}-g++-${{matrix.compiler.ver}}' \
148-
CFLAGS='-Wno-psabi -O3 -fno-stack-protector -fcf-protection=none -fno-stack-clash-protection -U_FORTIFY_SOURCE ${{matrix.target.flags}}' \
157+
CFLAGS='-Werror -O3 -fno-stack-protector -fcf-protection=none -fno-stack-clash-protection -U_FORTIFY_SOURCE ${{matrix.target.flags}}' \
149158
MARCH=''
159+
#CFLAGS='-Wno-psabi -O3 -fno-stack-protector -fcf-protection=none -fno-stack-clash-protection -U_FORTIFY_SOURCE ${{matrix.target.flags}}' \
150160
151161
# - name: Upload Results
152162
# uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)