Skip to content

armgit / gecko

Public Imported from GitHub
0

A GameCube/Wii emulator and debugger written in Rust.

use chipi jump table only for tinyapp

Layleda86295390bb
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 291a6fa..e7286bd 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -50,27 +50,27 @@ jobs:
key: ${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ matrix.target }}-
- - name: Patch chipi dispatch strategy
- shell: bash
- run: perl -pi -e 's/strategy fn_ptr_lut/strategy jump_table/g' crates/gecko/*.bindings.chipi
-
- name: Install Linux dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libwayland-dev libxkbcommon-dev libx11-dev libxi-dev libxrandr-dev libxcursor-dev
- - name: Build tinyapp (release)
- run: cargo build --release --package tinyapp --target ${{ matrix.target }}
+ - name: Build debugger + multitool (release)
+ run: cargo build --release --target ${{ matrix.target }} -p debugger -p multitool
- - name: Build debugger (release)
- run: cargo build --release --package debugger --target ${{ matrix.target }}
+ - name: Build debugger + multitool (dev profile, with tracing output)
+ run: cargo build --profile dev --target ${{ matrix.target }} -p debugger -p multitool
- - name: Build multitool (release)
- run: cargo build --release --package multitool --target ${{ matrix.target }}
+ - name: Patch chipi dispatch strategy (tinyapp only)
+ shell: bash
+ run: perl -pi -e 's/strategy fn_ptr_lut/strategy jump_table/g' crates/gecko/*.bindings.chipi
+
+ - name: Build tinyapp (release)
+ run: cargo build --release --package tinyapp --target ${{ matrix.target }}
- - name: Build binaries (dev profile, with tracing output)
- run: cargo build --profile dev --target ${{ matrix.target }} -p tinyapp -p debugger -p multitool
+ - name: Build tinyapp (dev profile, with tracing output)
+ run: cargo build --profile dev --package tinyapp --target ${{ matrix.target }}
- name: Package artifacts (Unix)
if: runner.os != 'Windows'