@@ -106,40 +106,30 @@ jobs:
106106
107107 - name : Checkout
108108 uses : actions/checkout@v4
109- # - name: Quick Test
110- # run: |
111- # exec 2>&1
112- # sudo chroot /srv/alpine /bin/su - runner <<'END'
113- # set -x
114- # tee main.cc <<'END' >/dev/null
115- # # include <cstdio.h>
116- # int main() {
117- # std::puts("Hi");
118- # }
119- # END
120- # ${{matrix.compiler.gxx}} -pipe -w -Wno-psabi -pthread -std=c++17 \
121- # -fno-math-errno -O3 -fno-stack-protector -fcf-protection=none -fno-stack-clash-protection -U_FORTIFY_SOURCE \
122- # -include prelude.cc main.cc -s -Wl,--as-needed -lm -ldl -lrt
123- # file a.out
124- # ./a.out
125- - name : Checkout
126- uses : actions/checkout@v4
127- # with: { ref: master }
128- - name : Run Make (and Check)
129- if : matrix.target.guest != 's390x'
109+ - name : Quick Test
130110 run : |
131111 exec 2>&1
132112 sudo chroot /srv/alpine /bin/su - runner <<'END'
133113 set -x
134114 tee main.cc <<'EOF' >/dev/null
135- # include <cstdio>
115+ # include <cstdio.h >
136116 int main() {
137117 std::puts("Hi");
138118 }
139119 EOF
140- ${{matrix.compiler.gxx}} -pipe -w -pthread -std=c++17 -fPIC -fno-math-errno -Wno-psabi -O3 \
141- -fno-stack-protector -fcf-protection=none -fno-stack-clash-protection -U_FORTIFY_SOURCE \
142- -include manool/prelude.cc main.cc
120+ ${{matrix.compiler.gxx}} -pipe -w -Wno-psabi -pthread -std=c++17 \
121+ -fno-math-errno -O3 -fno-stack-protector -fcf-protection=none -fno-stack-clash-protection -U_FORTIFY_SOURCE \
122+ -include prelude.cc main.cc -s -Wl,--as-needed -lm -ldl -lrt
123+ file a.out
143124 ./a.out
144- #make -Cmanool -j4 run GCC=${{matrix.compiler.gcc}} GXX=${{matrix.compiler.gxx}}
125+ - name : Checkout
126+ uses : actions/checkout@v4
127+ with : { ref: master }
128+ - name : Run Make (and Check)
129+ if : matrix.target.guest != 's390x'
130+ run : |
131+ exec 2>&1
132+ sudo chroot /srv/alpine /bin/su - runner <<'END'
133+ set -x
134+ make -Cmanool -j4 run GCC=${{matrix.compiler.gcc}} GXX=${{matrix.compiler.gxx}}
145135 END
0 commit comments