Skip to content

Commit

Permalink
(fix) try to fix github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xTrayambak committed Mar 14, 2024
1 parent 8ee9b42 commit 0afff2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
os:
- ubuntu-latest
nimversion:
- devel
- stable

name: ${{ matrix.os }} - ${{ matrix.nimversion }}
Expand Down
8 changes: 6 additions & 2 deletions ferus.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,15 @@ when defined(linux):

# Debug build (ferus + libferuscli)
task debugBuild, "Build Ferus as a debug package":
exec "nim c -o:bin/ferus src/ferus.nim && nim c -o:bin/libferuscli src/libferuscli.nim"
exec "nim c -o:bin/ferus src/ferus.nim"
exec "nim c -o:bin/libferuscli src/libferuscli.nim"
exec "Ferus was built successfully in debug mode!"

# Production build (ferus + libferuscli)
task productionBuild, "Build Ferus as a production package":
exec "nim c -o:bin/ferus -d:release src/ferus.nim && nim c -o:bin/libferuscli -d:release src/libferuscli.nim"
exec "nim c -o:bin/ferus -d:release src/ferus.nim"
exec "nim c -o:bin/libferuscli -d:release src/libferuscli.nim"
echo "Ferus was built successfully in release/prod mode!"

task quickdebug, "Build and run debug version of Ferus":
exec "nim c -o:bin/ferus src/ferus.nim && nim c -o:bin/libferuscli src/libferuscli.nim"
Expand Down

0 comments on commit 0afff2b

Please sign in to comment.