Skip to content

Commit

Permalink
workflows: Add action to test re-assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
bwrsandman committed Dec 8, 2024
1 parent 422dc88 commit d916874
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/reassemble.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Reassemble

on: [push, pull_request]

jobs:
reassemble:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Install dependencies
run: pip install -r src/scripts/requirements.txt

- name: Checkout UASM repository
uses: actions/checkout@v3
with:
repository: Terraspace/UASM
path: UASM

- name: Apply patches and build UASM
run: |
cd $GITHUB_WORKSPACE/UASM
git am $GITHUB_WORKSPACE/bw1-decomp/patches/uasm/*
make -f Makefile-Linux.mak
- name: Build bw1-decomp project
run: |
cmake -DCMAKE_LINKER=/usr/i686-w64-mingw32/bin/ld -DCMAKE_ASM_COMPILER=$GITHUB_WORKSPACE/UASM/GccUnixR/uasm -Bbuild
cmake --build build -j4

0 comments on commit d916874

Please sign in to comment.