Name pseudo-random functions in Asset Queues #133
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: ['push', 'pull_request'] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Wine | |
run: | | |
sudo dpkg --add-architecture i386 | |
sudo apt-get update | |
sudo apt-get install -y --no-install-recommends wine wine32:i386 | |
- name: Install sh4objtest | |
run: | | |
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 | |
with: | |
ssh-key: ${{ secrets.SDK_REPO_KEY }} | |
repository: lhsazevedo/dc-sdk-155j | |
path: sdk | |
- name: Configure environment | |
run: | | |
DC_SDK=$PWD/sdk | |
echo "SHINOBI_DIR=$(winepath -w $DC_SDK/shinobi)" >> "$GITHUB_ENV" | |
echo "KATANA_SDK_DIR=$(winepath -w $DC_SDK)" >> "$GITHUB_ENV" | |
echo "SHC_BIN=$(winepath -w $DC_SDK/shc/bin)" >> "$GITHUB_ENV" | |
echo "SHC_TMP=$(winepath -w /tmp)" >> "$GITHUB_ENV" | |
echo "SHC_LIB=$(winepath -w $DC_SDK/shc/bin)" >> "$GITHUB_ENV" | |
echo "SHC_INC=$(winepath -w $DC_SDK/shc/include),$(winepath -w $DC_SDK/shinobi/include)" >> "$GITHUB_ENV" | |
- name: Test | |
run: bash scripts/run_tests.sh |