Skip to content
Snippets Groups Projects
Commit e1abe809 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix CI

parent 6abd64ae
No related branches found
No related tags found
No related merge requests found
...@@ -14,9 +14,9 @@ ifeq ($(TARGET),x86_64-unknown-redox) ...@@ -14,9 +14,9 @@ ifeq ($(TARGET),x86_64-unknown-redox)
CC="x86_64-unknown-redox-gcc" CC="x86_64-unknown-redox-gcc"
endif endif
.PHONY: all clean fmt test .PHONY: all clean fmt libc test
all: $(BUILD)/debug/libc.a $(BUILD)/debug/libcrt0.a $(BUILD)/openlibm/libopenlibm.a all: libc libm
clean: clean:
cargo clean cargo clean
...@@ -25,6 +25,10 @@ clean: ...@@ -25,6 +25,10 @@ clean:
fmt: fmt:
./fmt.sh ./fmt.sh
libc: $(BUILD)/debug/libc.a $(BUILD)/debug/libcrt0.a
libm: $(BUILD)/openlibm/libopenlibm.a
test: all test: all
make -C tests run make -C tests run
......
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
set -ex set -ex
./fmt.sh -- --write-mode=diff ./fmt.sh -- --write-mode=diff
make
if [ -z "$TARGET" ] if [ -z "$TARGET" ]
then then
make all
make test make test
else
make libc
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment