Skip to content

Commit

Permalink
ci: Use make and standalone sh4objtest (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
lhsazevedo authored Jun 27, 2024
1 parent 6adf125 commit b276cb9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
echo "HLNK_LIBRARY3=$(winepath -w $DC_SDK/shc/lib/sh4nlfzn.lib)" >> "$GITHUB_ENV"
- name: Build
run: bash scripts/build.sh
run: make
2 changes: 1 addition & 1 deletion .github/workflows/build_matching.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:
echo "SHC_INC=$(winepath -w $DC_SDK/shc/include),$(winepath -w $DC_SDK/shinobi/include)" >> "$GITHUB_ENV"
- name: Build
run: bash scripts/build_matching.sh
run: make -f Makefile.matching
12 changes: 4 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,12 @@ jobs:
sudo apt-get update
sudo apt-get install -y --no-install-recommends wine wine32:i386
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.x
tools: composer:v2

- name: Install sh4objtest
run: |
composer global require --no-ansi --no-interaction --no-progress lhsazevedo/sh4objtest:dev-main
echo "$HOME/.config/composer/vendor/bin" >> $GITHUB_PATH
wget -nv https://github.com/lhsazevedo/sh4objtest/releases/latest/download/sh4objtest-linux-x86_64.tar.gz
tar -xzf sh4objtest-linux-x86_64.tar.gz
mv sh4objtest /usr/local/bin/sh4objtest
rm sh4objtest-linux-x86_64.tar.gz
- name: Checkout SDK
uses: actions/checkout@v4
Expand Down

0 comments on commit b276cb9

Please sign in to comment.