OFStdIOStream: Implement color rounding #1870
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: nintendo-3ds | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: docker pull devkitpro/devkitarm | |
- uses: actions/checkout@v4 | |
- name: autogen.sh | |
run: ./autogen.sh | |
- name: configure | |
run: | | |
docker run \ | |
-e DEVKITPRO=/opt/devkitpro \ | |
-e PATH="/opt/devkitpro/devkitARM/bin:/opt/devkitpro/tools/bin:$PATH" \ | |
-v "$PWD:/objfw" \ | |
devkitpro/devkitarm \ | |
sh -c 'cd /objfw && ./configure --host=arm-none-eabi --with-3ds' | |
- name: make | |
run: | | |
docker run \ | |
-e DEVKITPRO=/opt/devkitpro \ | |
-e PATH="/opt/devkitpro/devkitARM/bin:/opt/devkitpro/tools/bin:$PATH" \ | |
-v "$PWD:/objfw" \ | |
devkitpro/devkitarm \ | |
sh -c "cd /objfw && make -j$(nproc)" | |
- name: make tests.3dsx | |
run: | | |
docker run \ | |
-e DEVKITPRO=/opt/devkitpro \ | |
-e PATH="/opt/devkitpro/devkitARM/bin:/opt/devkitpro/tools/bin:$PATH" \ | |
-v "$PWD:/objfw" \ | |
devkitpro/devkitarm \ | |
sh -c "cd /objfw/tests && make tests.3dsx" | |
- name: make install | |
run: | | |
docker run \ | |
-e DEVKITPRO=/opt/devkitpro \ | |
-e PATH="/opt/devkitpro/devkitARM/bin:/opt/devkitpro/tools/bin:$PATH" \ | |
-v "$PWD:/objfw" \ | |
devkitpro/devkitarm \ | |
sh -c "cd /objfw && make install" | |
- name: Create objfw-tests | |
run: | | |
mkdir -p objfw-tests/objfw-tests | |
cp tests/tests.3dsx tests/testfile.txt objfw-tests/objfw-tests | |
- name: Upload objfw-tests | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Nintendo 3DS Tests | |
path: objfw-tests |