File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Check Executables Match
2+
3+ on :
4+ push
5+
6+ jobs :
7+ build :
8+ if : github.repository_owner == 'iwillcraft-m0d'
9+
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout Repository
13+ uses : actions/checkout@v4
14+
15+ - name : Checkout Elf Repository
16+ uses : actions/checkout@v4
17+ with :
18+ repository : iwillcraft-m0d/dogcomp-elfs
19+ token : ${{ secrets.k4d }}
20+ path : elf
21+
22+ - name : Set up Python
23+ uses : actions/setup-python@v2
24+ with :
25+ python-version : " 3.x"
26+
27+ - name : Install dependencies
28+ run : |
29+ python -m pip install --upgrade pip
30+ pip install -U -r requirements.txt
31+
32+ - name : Setup build environment
33+ run : |
34+ sudo apt-get install binutils-mips-linux-gnu
35+ tools/setup_prodg_linux.sh
36+
37+ - name : Configure and generate report
38+ run : |
39+ python configure.py
40+ ninja
Original file line number Diff line number Diff line change 1+ name : Generate Progress Report
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ build :
10+ if : github.repository_owner == 'iwillcraft-m0d'
11+
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout Repository
15+ uses : actions/checkout@v4
16+
17+ - name : Checkout Elf Repository
18+ uses : actions/checkout@v4
19+ with :
20+ repository : iwillcraft-m0d/dogcomp-elfs
21+ token : ${{ secrets.k4d }}
22+ path : elf
23+
24+ - name : Set up Python
25+ uses : actions/setup-python@v2
26+ with :
27+ python-version : " 3.x"
28+
29+ - name : Install dependencies
30+ run : |
31+ python -m pip install --upgrade pip
32+ pip install -U -r requirements.txt
33+
34+ - name : Setup build environment
35+ run : |
36+ sudo apt-get install binutils-mips-linux-gnu
37+ tools/setup_prodg_linux.sh
38+
39+ - name : Configure and generate report
40+ run : |
41+ python configure.py -diff
42+ ninja
43+ ./tools/objdiff-cli report generate > report.json
44+
45+ - name : Upload Artifact
46+ uses : actions/upload-artifact@v4
47+ with :
48+ name : SCES_512.48_report
49+ path : ./report.json
Original file line number Diff line number Diff line change @@ -40,14 +40,6 @@ pip3 install -U -r requirements.txt
4040```
4141
4242## 4. Setup build environment
43- Setup wine:
44-
45- ``` bash
46- sudo dpkg --add-architecture i386 && \
47- sudo apt-get update && \
48- sudo apt-get install wine32
49- ```
50-
5143Install the MIPS assembler:
5244
5345``` bash
Original file line number Diff line number Diff line change 5252)
5353
5454if sys .platform == "linux" or sys .platform == "linux2" :
55- COMPILE_CMD_C = f"wine { COMPILE_CMD_C } "
56- COMPILE_CMD_CPP = f"wine { COMPILE_CMD_CPP } "
55+ COMPILE_CMD_C = f"tools/wibo { COMPILE_CMD_C } "
56+ COMPILE_CMD_CPP = f"tools/wibo { COMPILE_CMD_CPP } "
5757
5858
5959CATEGORY_MAP = {
You can’t perform that action at this time.
0 commit comments