Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,26 @@ name: Testing
on:
- push
- pull_request

jobs:
macos-testing:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Install RGBDS
run: |
brew install rgbds
- name: Run rgbasm on hardware.inc
- name: Test hardware.inc
run: |
rgbasm hardware.inc

- name: Test hardware_compat.inc
run: |
rgbasm -P hardware.inc hardware_compat.inc

windows-testing:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Install RGBDS
run: |
# Find the URL of the latest Win64 release with the GitHub API
Expand All @@ -28,6 +31,11 @@ jobs:
# Download latest release
Invoke-WebRequest $githubWinReleaseURL -OutFile rgbds.zip
Expand-Archive rgbds.zip
- name: Run rgbasm on hardware.inc
# Move files out of subdirectories if present
Get-ChildItem -Path rgbds -Recurse -File | Move-Item -Destination rgbds -Force
- name: Test hardware.inc
run: |
rgbds/rgbasm.exe hardware.inc
- name: Test hardware_compat.inc
run: |
rgbds/rgbasm.exe -P hardware.inc hardware_compat.inc
Loading