Skip to content

Commit

Permalink
Better output in work flow.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekKnapek committed Oct 24, 2023
1 parent adb1267 commit c4c5c15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- "uses": "actions/checkout@main"
- "run": "bash ./../projects/gcc/build_m4.sh"
- "run": "gcc -v"
- "run": "gcc -std=c${{matrix.cver}} -DNDEBUG -Dmk_lang_assert_want=1 -Dmk_lang_crash_detail_want=1 -Dmk_clib_test_smol_want=1 -O3 -Wall -Wextra -Wpedantic -o ${{matrix.proj}}-c${{matrix.cver}}.elf ${{matrix.proj}}.c 2> ${{matrix.proj}}-c${{matrix.cver}}.txt"
- "run": "gcc -std=c${{matrix.cver}} -DNDEBUG -Dmk_lang_assert_want=1 -Dmk_lang_crash_detail_want=1 -Dmk_clib_test_smol_want=1 -O3 -Wall -Wextra -Wpedantic -o ${{matrix.proj}}-c${{matrix.cver}}.elf ${{matrix.proj}}.c 2>&1 | tee ${{matrix.proj}}-c${{matrix.cver}}.txt"
- "run": "./${{matrix.proj}}-c${{matrix.cver}}.elf"
- "uses": "actions/upload-artifact@main"
"with":
Expand All @@ -37,7 +37,7 @@
- "run": "bash ./../projects/gcc/build_m4.sh"
- "run": "cp ${{matrix.proj}}.c ${{matrix.proj}}.cpp"
- "run": "g++-12 -v"
- "run": "g++-12 -std=c++${{matrix.cver}} -DNDEBUG -Dmk_lang_assert_want=1 -Dmk_lang_crash_detail_want=1 -Dmk_clib_test_smol_want=1 -O3 -fconstexpr-ops-limit=1000000000 -Wall -Wextra -Wpedantic -o ${{matrix.proj}}-cpp${{matrix.cver}}.elf ${{matrix.proj}}.cpp 2> ${{matrix.proj}}-cpp${{matrix.cver}}.txt"
- "run": "g++-12 -std=c++${{matrix.cver}} -DNDEBUG -Dmk_lang_assert_want=1 -Dmk_lang_crash_detail_want=1 -Dmk_clib_test_smol_want=1 -O3 -fconstexpr-ops-limit=1000000000 -Wall -Wextra -Wpedantic -o ${{matrix.proj}}-cpp${{matrix.cver}}.elf ${{matrix.proj}}.cpp 2>&1 | tee ${{matrix.proj}}-cpp${{matrix.cver}}.txt"
- "run": "./${{matrix.proj}}-cpp${{matrix.cver}}.elf"
- "uses": "actions/upload-artifact@main"
"with":
Expand Down

0 comments on commit c4c5c15

Please sign in to comment.