Skip to content

Commit

Permalink
Build samples on Windows CI (#13334)
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil authored Apr 24, 2023
1 parent 692e95f commit d7d9f87
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,3 +373,6 @@ jobs:

- name: Run primitives specs
run: make -f Makefile.win primitives_spec

- name: Build samples
run: make -f Makefile.win samples
9 changes: 8 additions & 1 deletion samples/Makefile.win
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
all:

MAKEFLAGS += --no-builtin-rules
.SUFFIXES:

SHELL := cmd.exe

MKDIR = if not exist $1 mkdir $1
RMDIR = if exist $1 rd /S /Q $1

CRYSTAL := ../bin/crystal# Crystal compiler to use
CRYSTAL := ..\bin\crystal.bat# Crystal compiler to use
O := .build# Output directory

BUILDABLE_SOURCES := $(wildcard *.cr llvm/*.cr compiler/*.cr)
Expand Down

0 comments on commit d7d9f87

Please sign in to comment.