Skip to content

Commit

Permalink
Add dbg
Browse files Browse the repository at this point in the history
  • Loading branch information
alloncm committed Dec 21, 2024
1 parent 7fcc74f commit 3e83e9c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- name: Build sdl
continue-on-error: true
run: cargo make sdl
- name: Build sdl with debugger
continue-on-error: true
run: cargo make sdl_dbg
- name: Build libretro
continue-on-error: true
run: cargo make libretro_desktop
Expand Down
8 changes: 8 additions & 0 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,18 @@ args = ["test", "--package", "magenboy_core"]
command = "cargo"
args = ["build", "--release", "--package", "magenboy_sdl"]

[tasks.sdl_dbg]
command = "cargo"
args = ["build", "--release", "--package", "magenboy_sdl", "--features", "dbg"]

[tasks.sdl.linux]
args = ["build", "--release", "--package", "magenboy_sdl", "--no-default-features"]
dependencies = ["install_sdl2_linux"]

[tasks.sdl_dbg.linux]
args = ["build", "--release", "--package", "magenboy_sdl", "--no-default-features", "-features", "dbg"]
dependencies = ["install_sdl2_linux"]

[tasks.install_sdl2_linux]
script = [
"""
Expand Down

0 comments on commit 3e83e9c

Please sign in to comment.