From 4c8dfeca460e8a500977dfd2932240d33c1095bd Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 20 Jul 2024 15:12:33 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a840e13f..ec10e9a1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -78,10 +78,13 @@ jobs: # linux builds - run: PATH=/github/home/.nimble/bin:$PATH nimble buildAbsytreeServer - run: PATH=/github/home/.nimble/bin:$PATH nimble buildLspWs - - run: PATH=/github/home/.nimble/bin:$PATH nimble buildDesktop --app:console -D:forceLogToFile -D:enableGui=false -D:enableTerminal=true --out:ast - - run: PATH=/github/home/.nimble/bin:$PATH nimble buildDesktop --app:gui -D:forceLogToFile -D:enableGui=true -D:enableTerminal=false --out:astg - - run: PATH=/github/home/.nimble/bin:$PATH nimble buildDesktop --app:console -D:forceLogToFile -D:enableGui=false -D:enableTerminal=true -d:musl -d:nimWasmtimeBuildMusl --out:ast-musl - + #- run: PATH=/github/home/.nimble/bin:$PATH nimble buildDesktop --app:console -D:forceLogToFile -D:enableGui=false -D:enableTerminal=true --out:ast -D:absytreeCI -D:absytreeCINimbleCached=${{steps.cache-nimble.outputs.cache-hit}} + #- run: PATH=/github/home/.nimble/bin:$PATH nimble buildDesktop --app:gui -D:forceLogToFile -D:enableGui=true -D:enableTerminal=false --out:astg -D:absytreeCI -D:absytreeCINimbleCached=${{steps.cache-nimble.outputs.cache-hit}} + #- run: PATH=/github/home/.nimble/bin:$PATH nimble buildDesktop --app:console -D:forceLogToFile -D:enableGui=false -D:enableTerminal=true -d:musl -d:nimWasmtimeBuildMusl --out:ast-musl -D:absytreeCI -D:absytreeCINimbleCached=${{steps.cache-nimble.outputs.cache-hit}} + - run: nim c --out:ast -D:enableGui=false -D:enableTerminal=true --app:console -D:forceLogToFile --passC:-std=gnu11 -d:exposeScriptingApi -D:absytreeCI -D:absytreeCINimbleCached=${{steps.cache-nimble.outputs.cache-hit}} src/absytree.nim + - run: nim c --out:astg -D:enableGui=true -D:enableTerminal=false --app:gui -D:forceLogToFile --passC:-std=gnu11 -d:exposeScriptingApi -D:absytreeCI -D:absytreeCINimbleCached=${{steps.cache-nimble.outputs.cache-hit}} src/absytree.nim + - run: nim c --out:ast-musl -D:enableGui=false -D:enableTerminal=true --app:console -D:forceLogToFile --passC:-std=gnu11 -d:exposeScriptingApi -D:absytreeCI -D:absytreeCINimbleCached=${{steps.cache-nimble.outputs.cache-hit}} src/absytree.nim + # create release packages - run: PATH=/github/home/.nimble/bin:$PATH nim ./tools/package_release.nims -l - run: ls -la release_linux @@ -139,8 +142,8 @@ jobs: run: nimble setup # windows builds - - run: nimble buildDesktop --app:console -D:forceLogToFile -D:enableGui=false -D:enableTerminal=true --out:ast.exe - - run: nimble buildDesktop --app:gui -D:forceLogToFile -D:enableGui=true -D:enableTerminal=false --out:astg.exe + - run: nim c --out:ast.exe -D:enableGui=false -D:enableTerminal=true --app:console -D:forceLogToFile --passC:-std=gnu11 -d:exposeScriptingApi -D:absytreeCI -D:absytreeCINimbleCached=${{steps.cache-nimble.outputs.cache-hit}} src/absytree.nim + - run: nim c --out:astg.exe -D:enableGui=true -D:enableTerminal=false --app:gui -D:forceLogToFile --passC:-std=gnu11 -d:exposeScriptingApi -D:absytreeCI -D:absytreeCINimbleCached=${{steps.cache-nimble.outputs.cache-hit}} src/absytree.nim - run: nimble buildAbsytreeServerWindows - run: nimble buildLspWsWindows