diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 15733c65..604c18c9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,15 +23,19 @@ jobs: - name: Checkout oot run: | cd ../ + rm -rf oot/ git clone https://github.com/zeldaret/oot.git cd oot + echo $(pwd) git submodule update --init --recursive - name: Checkout mm run: | cd ../ + rm -rf mm/ git clone https://github.com/zeldaret/mm.git cd mm + echo $(pwd) - name: Set up repos run: echo "Set up repos" @@ -40,9 +44,11 @@ jobs: run: | cd ../ cd oot + echo $(pwd) mkdir -p baseroms/gc-eu-mq-dbg/segments cp ~/baserom_original.z64 ./baseroms/gc-eu-mq-dbg/baserom.z64 cd tools + rm -rf ZAPD/ ln -s ../../ZAPD cd ../ make -j $(nproc) setup @@ -51,11 +57,13 @@ jobs: run: | cd ../ cd mm + echo $(pwd) python3 -m venv .mm-env source .mm-env/bin/activate python3 -m pip install -r requirements.txt cp ~/baserom.mm.us.rev1.z64 ./baserom.mm.us.rev1.z64 cd tools + rm -rf ZAPD/ ln -s ../../ZAPD cd ../ make -C tools -j @@ -71,6 +79,7 @@ jobs: run: | cd ../ cd oot + echo $(pwd) make venv make -j @@ -78,6 +87,7 @@ jobs: run: | cd ../ cd mm + echo $(pwd) python3 -m venv .mm-env source .mm-env/bin/activate python3 -m pip install -r requirements.txt