Skip to content

Commit

Permalink
ignore wandbox fail (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
srz-zumix authored Aug 1, 2022
1 parent 0bca332 commit a5edb82
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Compile each language tests
on:
# wandbox 側のエラー解消するまでコメントアウト
# pull_request:
pull_request:
push:
branches:
- master
Expand Down
3 changes: 2 additions & 1 deletion samples/command/src/crystal/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 2 additions & 1 deletion samples/command/src/dmd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
# Makefile

DMD:=dmd
IGNORE_ERROR:=-

local:
${DMD} sample.d test2.d packages/test.d

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
4 changes: 3 additions & 1 deletion samples/command/src/haskell-stack/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 2 additions & 1 deletion samples/command/src/lazyk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 2 additions & 1 deletion samples/command/src/pony/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Makefile

PONYC:=ponyc
IGNORE_ERROR:=-

local:
${PONYC} simple sample sample2
Expand All @@ -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"
3 changes: 2 additions & 1 deletion samples/command/src/scala/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Makefile

SCALA=scalac
IGNORE_ERROR:=-

local:
${SCALA} simple/simple.scala
Expand All @@ -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"
3 changes: 2 additions & 1 deletion samples/command/src/swift/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion samples/command/src/vim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit a5edb82

Please sign in to comment.