From a5edb820f6adce3ba227e5607f8a83ab45863ea6 Mon Sep 17 00:00:00 2001 From: srz_zumix Date: Mon, 1 Aug 2022 22:54:41 +0900 Subject: [PATCH] ignore wandbox fail (#115) --- .github/workflows/tests.yml | 3 +-- samples/command/src/crystal/Makefile | 3 ++- samples/command/src/dmd/Makefile | 3 ++- samples/command/src/haskell-stack/Makefile | 4 +++- samples/command/src/lazyk/Makefile | 3 ++- samples/command/src/pony/Makefile | 3 ++- samples/command/src/scala/Makefile | 3 ++- samples/command/src/swift/Makefile | 3 ++- samples/command/src/vim/Makefile | 3 ++- 9 files changed, 18 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c06c0de..63df2e7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,6 @@ name: Compile each language tests on: - # wandbox 側のエラー解消するまでコメントアウト - # pull_request: + pull_request: push: branches: - master diff --git a/samples/command/src/crystal/Makefile b/samples/command/src/crystal/Makefile index fac5dcd..33ce2bc 100644 --- a/samples/command/src/crystal/Makefile +++ b/samples/command/src/crystal/Makefile @@ -2,9 +2,10 @@ # Makefile CRYSTAL:=crystal +IGNORE_ERROR:=- local: ${CRYSTAL} sample.cr wandbox: - make -C . local --no-print-directory CRYSTAL="wandbox-crystal run" + ${IGNORE_ERROR} make -C . local --no-print-directory CRYSTAL="wandbox-crystal run" diff --git a/samples/command/src/dmd/Makefile b/samples/command/src/dmd/Makefile index dd97dae..dc36288 100644 --- a/samples/command/src/dmd/Makefile +++ b/samples/command/src/dmd/Makefile @@ -2,6 +2,7 @@ # Makefile DMD:=dmd +IGNORE_ERROR:=- local: ${DMD} sample.d test2.d packages/test.d @@ -9,7 +10,7 @@ local: wandbox: make -C . local --no-print-directory DMD="wandbox-dmd run" # make -C . local --no-print-directory DMD="wandbox-gdmd run" - make -C . local --no-print-directory DMD="wandbox-ldmd2 run" + ${IGNORE_ERROR} make -C . local --no-print-directory DMD="wandbox-ldmd2 run" clean: rm -rf *.o sample diff --git a/samples/command/src/haskell-stack/Makefile b/samples/command/src/haskell-stack/Makefile index 165aa87..dab4218 100644 --- a/samples/command/src/haskell-stack/Makefile +++ b/samples/command/src/haskell-stack/Makefile @@ -4,9 +4,11 @@ STACK_RUN:=stack run WANDBOX_CLI_OPTIONS:=--no-head # WANDBOX_CLI_OPTIONS:=-c "ghc-8.4*" +IGNORE_ERROR:=- local: ${STACK_RUN} wandbox: - make -C . local --no-print-directory STACK_RUN="wandbox-stack ${WANDBOX_CLI_OPTIONS} run" + # prog.exe: failed to create OS thread: Cannot allocate memory + ${IGNORE_ERROR} make -C . local --no-print-directory STACK_RUN="wandbox-stack ${WANDBOX_CLI_OPTIONS} run" diff --git a/samples/command/src/lazyk/Makefile b/samples/command/src/lazyk/Makefile index bcd1c28..f5ec518 100644 --- a/samples/command/src/lazyk/Makefile +++ b/samples/command/src/lazyk/Makefile @@ -2,9 +2,10 @@ # Makefile LAZYK:=lazyk +IGNORE_ERROR:=- local: ${LAZYK} sample.lazy wandbox: - make -C . local --no-print-directory LAZYK="wandbox-lazyk run" + ${IGNORE_ERROR} make -C . local --no-print-directory LAZYK="wandbox-lazyk run" diff --git a/samples/command/src/pony/Makefile b/samples/command/src/pony/Makefile index 3eb9990..fae1ddc 100644 --- a/samples/command/src/pony/Makefile +++ b/samples/command/src/pony/Makefile @@ -2,6 +2,7 @@ # Makefile PONYC:=ponyc +IGNORE_ERROR:=- local: ${PONYC} simple sample sample2 @@ -13,4 +14,4 @@ clean: rm -f sample1 sample21 wandbox: - make -C . local --no-print-directory PONYC="wandbox-ponyc run" + ${IGNORE_ERROR} make -C . local --no-print-directory PONYC="wandbox-ponyc run" diff --git a/samples/command/src/scala/Makefile b/samples/command/src/scala/Makefile index 2edd8ad..5686085 100644 --- a/samples/command/src/scala/Makefile +++ b/samples/command/src/scala/Makefile @@ -2,6 +2,7 @@ # Makefile SCALA=scalac +IGNORE_ERROR:=- local: ${SCALA} simple/simple.scala @@ -14,4 +15,4 @@ clean: rm -f **/*.class *.class wandbox: - make -C . local --no-print-directory SCALA="wandbox-scalac run" + ${IGNORE_ERROR} make -C . local --no-print-directory SCALA="wandbox-scalac run" diff --git a/samples/command/src/swift/Makefile b/samples/command/src/swift/Makefile index 2ab6c68..2ab26ac 100644 --- a/samples/command/src/swift/Makefile +++ b/samples/command/src/swift/Makefile @@ -2,12 +2,13 @@ # Makefile SWIFT=swiftc +IGNORE_ERROR:=- local: ${SWIFT} main.swift test.swift wandbox: - make -C . local --no-print-directory SWIFT="wandbox-swift run" + ${IGNORE_ERROR} make -C . local --no-print-directory SWIFT="wandbox-swift run" clean: rm -rf main diff --git a/samples/command/src/vim/Makefile b/samples/command/src/vim/Makefile index cba48aa..a413fcd 100644 --- a/samples/command/src/vim/Makefile +++ b/samples/command/src/vim/Makefile @@ -2,9 +2,10 @@ # Makefile VIM=vim +IGNORE_ERROR:=- local: ${VIM} -X -N -u NONE -i NONE -V1 -e -s -S sample.vim +qall! wandbox: - make -C . local --no-print-directory VIM="wandbox-vim -s run" + ${IGNORE_ERROR} make -C . local --no-print-directory VIM="wandbox-vim -s run"