cosmopolitan/build/online.mk

32 lines
972 B
Makefile
Raw Normal View History

2020-06-15 14:18:57 +00:00
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐
#───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘
#
# SYNOPSIS
#
# Cosmopolitan Online Testing
#
# OVERVIEW
#
# make test HOSTS="rhel5 windows mac freebsd openbsd wsl"
#
# DESCRIPTION
#
# This code deploys and spawns testing infrastructure to a fleet of
# virtual machines running the various supported platforms. This is
# super trivial since αcτµαlly pδrταblε εxεcµταblε is an autonomous
# format requiring one simple file copy. Latencies are outstanding.
# Configuration is trivial using /etc/hosts and ~/.ssh/config.
#
# SEE ALSO
#
# - tool/build/runit.c
# - tool/build/runitd.c
.PRECIOUS: o/$(MODE)/%.com.ok
o/$(MODE)/%.com.ok: \
o/$(MODE)/tool/build/runit.com.dbg \
o/$(MODE)/tool/build/runitd.com \
o/$(MODE)/%.com
@ACTION=TEST TARGET=$@ build/do $^ $(HOSTS)
@touch $@