Skip to content

Commit

Permalink
appveyor build
Browse files Browse the repository at this point in the history
  • Loading branch information
arakis committed Nov 1, 2019
1 parent 921059c commit 9e043cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions abctl
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function build {
;;

builder)
(cd src && ${msbuild} Abanu.Tools.sln /p:Configuration=Release -verbosity:minimal /verbosity:minimal -m)
(cd src && ${msbuild} Abanu.Tools.sln /p:Configuration=Release /verbosity:minimal -m)
cp external/MOSA-Project/bin/Mosa.Plug.Korlib.dll bin
cp external/MOSA-Project/bin/Mosa.Plug.Korlib.x86.dll bin
cp external/MOSA-Project/bin/Mosa.Plug.Korlib.x64.dll bin
Expand All @@ -223,7 +223,8 @@ function build {
assembly)
#(cd src && ${msbuild} Abanu.Kernel.sln /p:Configuration=Debug -verbosity:minimal -m)
set -x
(cd src && ${msbuild} Abanu.sln /p:Configuration=Debug -verbosity:minimal /verbosity:minimal -m)

(cd src && ${msbuild} Abanu.sln /p:Configuration=Debug /verbosity:minimal -m)
;;

native)
Expand Down
6 changes: 3 additions & 3 deletions src/Abanu.Tools.Build/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ private static CommandResult DebugQemu(CommandArgs args)
switch (args.RequireFlag("boot", "direct"))
{
case "direct":
using (var qemu = ExecAsync("${qemu} -kernel ${ABANU_OSDIR}/Abanu.OS.image.${ABANU_ARCH}.bin -serial file:${ABANU_LOGDIR}/kernel.log -d pcall,cpu_reset,guest_errors${DEBUG_INTERRUPTS} -D ${ABANU_LOGDIR}/emulator.log -s -S -m 256"))
using (var qemu = ExecAsync("${qemu} -kernel ${ABANU_OSDIR}/Abanu.OS.Image.${ABANU_ARCH}.bin -serial file:${ABANU_LOGDIR}/kernel.log -d pcall,cpu_reset,guest_errors${DEBUG_INTERRUPTS} -D ${ABANU_LOGDIR}/emulator.log -s -S -m 256"))
{
Thread.Sleep(500);
using (var gdb = ExecAsync("${gdb}", false))
Expand All @@ -151,7 +151,7 @@ private static CommandResult RunQemu(CommandArgs args)
switch (args.RequireFlag("boot", "direct"))
{
case "direct":
Exec("${qemu} -kernel ${ABANU_OSDIR}/Abanu.OS.image.${ABANU_ARCH}.bin -serial file:${ABANU_LOGDIR}/kernel.log -d pcall,cpu_reset,guest_errors${DEBUG_INTERRUPTS} -D ${ABANU_LOGDIR}/emulator.log -m 256");
Exec("${qemu} -kernel ${ABANU_OSDIR}/Abanu.OS.Image.${ABANU_ARCH}.bin -serial file:${ABANU_LOGDIR}/kernel.log -d pcall,cpu_reset,guest_errors${DEBUG_INTERRUPTS} -D ${ABANU_LOGDIR}/emulator.log -m 256");
break;
}
return null;
Expand Down Expand Up @@ -333,7 +333,7 @@ public static void LinkImages()
writer.Write(memSize);

var bytes = ms.ToArray();
var outFile = Env.Get("${ABANU_OSDIR}/Abanu.OS.image.${ABANU_ARCH}.bin");
var outFile = Env.Get("${ABANU_OSDIR}/Abanu.OS.Image.${ABANU_ARCH}.bin");
File.WriteAllBytes(outFile, bytes);
}
}
Expand Down

0 comments on commit 9e043cd

Please sign in to comment.