This commit is contained in:
Sebastian Bergmann 2019-08-30 12:12:21 +02:00
parent cf78f907ae
commit f90156bf78
3 changed files with 10 additions and 8 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
/test
/test/hello

View File

@ -18,10 +18,6 @@
<target name="test">
<mkdir dir="${basedir}/test"/>
<get src="https://raw.githubusercontent.com/Sakura-IT/Amiga-programming-examples/master/C/hello-world-amiga/hello.c"
dest="${basedir}/test/hello.c"
skipexisting="true"/>
<exec executable="docker" taskname="docker">
<arg value="run"/>
<arg value="--rm"/>
@ -42,9 +38,6 @@
<arg value="${basedir}/test:/host"/>
<arg value="sebastianbergmann/amitools:latest"/>
<arg value="vamos"/>
<arg value="--quiet"/>
<arg value="--cpu"/>
<arg value="68020"/>
<arg value="/host/hello"/>
</exec>

9
test/hello.c Normal file
View File

@ -0,0 +1,9 @@
#include <stdio.h>
int main()
{
printf("Hello world!\n");
return(0);
}