Skip to content

Commit

Permalink
Merged develop/2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sauraen committed Jun 6, 2024
2 parents 92159b2 + db96daa commit a15eb82
Show file tree
Hide file tree
Showing 204 changed files with 13,516 additions and 2,128 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Format check

on: [push, pull_request]

jobs:
check-main:
if: ${{ github.event_name == 'push' }}
name: Check all files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Check file's formatting
run: python tools/check_format.py

check-pr:
if: ${{ github.event_name == 'pull_request' }}
name: Check modified files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
git remote add upstream https://github.com/HackerN64/HackerOoT.git
git fetch upstream
- name: Check file's formatting
run: python tools/check_format.py --verbose --compare-to upstream/develop/2.1.0
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,15 @@ build/*/cache/
*.map
*.dump
*.wad
*.iso
out.txt
*.ram
*.bin
*.blend1
F3DEX3/*.code
F3DEX3/*.data
wadextract/
isoextract/

# Tool artifacts
tools/mipspro7.2_compiler/
Expand Down
2 changes: 1 addition & 1 deletion .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"RELEASE_ROM=0",
"COMPRESS_YAZ=1"
],
"cStandard": "gnu89", // C89 + some GNU extensions from C99 like C++ comments
"cStandard": "gnu11",
"cppStandard": "${default}" // Only ZAPD uses C++, so doesn't really matter
}
],
Expand Down
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,13 @@
"build/**": true,
"expected/**": true,
},
"files.associations": {
"*.c": "c",
"*.h": "c",
"*.inc": "c",
"*.inc.c": "c",
},
"editor.rulers": [
120
],
}
Binary file removed F3DEX3/F3DEX3.code.bps
Binary file not shown.
Binary file removed F3DEX3/F3DEX3.data.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW.code.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW.data.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW_NOC.code.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW_NOC.data.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW_NOC_PA.code.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW_NOC_PA.data.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW_NOC_PB.code.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW_NOC_PB.data.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW_NOC_PC.code.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW_NOC_PC.data.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW_PA.code.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW_PA.data.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW_PB.code.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW_PB.data.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW_PC.code.bps
Binary file not shown.
Binary file added F3DEX3/F3DEX3_BrW_PC.data.bps
Binary file not shown.
2 changes: 1 addition & 1 deletion INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ For Windows 10 or 11, install WSL and a distribution by following this
[WSL Installation Guide](https://docs.microsoft.com/en-us/windows/wsl/install).
We recommend using Ubuntu 20.04 as the Linux distribution.

For older versions of Windows, install a Linux VM or refer to either [Cygwin](docs/BUILDING_CYGWIN.md) or [Docker](docs/BUILDING_DOCKER.md) instructions.
For older versions of Windows, install a Linux VM or refer to [Docker](docs/BUILDING_DOCKER.md) instructions.


### Linux (Native or under WSL / VM)
Expand Down
32 changes: 28 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ pipeline {
sh 'python3 tools/check_format.py --verbose --compare-to origin/main'
}
}
stage('Setup') {
stage('Setup gc-eu-mq-dbg') {
steps {
sh 'cp /usr/local/etc/roms/baserom_oot.z64 baseroms/gc-eu-mq-dbg/baserom.z64'
sh 'cp /usr/local/etc/roms/oot-gc-eu-mq-dbg.z64 baseroms/gc-eu-mq-dbg/baserom.z64'
sh 'make -j setup'
}
}
stage('Build (qemu-irix)') {
stage('Build gc-eu-mq-dbg (qemu-irix)') {
when {
branch 'main'
}
steps {
sh 'make -j ORIG_COMPILER=1'
}
}
stage('Build') {
stage('Build gc-eu-mq-dbg') {
when {
not {
branch 'main'
Expand All @@ -48,6 +48,30 @@ pipeline {
sh 'make -j RUN_CC_CHECK=0'
}
}
stage('Setup gc-eu-mq') {
steps {
sh 'cp /usr/local/etc/roms/oot-gc-eu-mq.z64 baseroms/gc-eu-mq/baserom.z64'
sh 'make -j setup VERSION=gc-eu-mq'
}
}
stage('Build gc-eu-mq (qemu-irix)') {
when {
branch 'main'
}
steps {
sh 'make -j VERSION=gc-eu-mq ORIG_COMPILER=1'
}
}
stage('Build gc-eu-mq') {
when {
not {
branch 'main'
}
}
steps {
sh 'make -j VERSION=gc-eu-mq RUN_CC_CHECK=0'
}
}
stage('Report Progress') {
when {
branch 'main'
Expand Down
Loading

0 comments on commit a15eb82

Please sign in to comment.