forked from gbdev/hardware.inc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Just runs the file through rgbasm to make sure the syntax is correct and there aren't any errors.
- Loading branch information
1 parent
4be8ca5
commit 72e2f04
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Testing | ||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
macos-testing: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install RGBDS | ||
run: | | ||
brew install rgbds | ||
- name: Run rgbasm on hardware.inc | ||
run: | | ||
rgbasm hardware.inc | ||
windows-testing: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install RGBDS | ||
run: | | ||
# Find the URL of the latest Win64 release with the GitHub API | ||
$githubLatestReleasesAPI = "https://api.github.com/repos/gbdev/rgbds/releases/latest" | ||
$githubReleaseURLs = ((Invoke-WebRequest $githubLatestReleasesAPI) | ConvertFrom-Json).assets.browser_download_url | ||
$githubWinReleaseURL = ($githubReleaseURLs | Select-String "win64").ToString() | ||
# Download latest release | ||
Invoke-WebRequest $githubWinReleaseURL -OutFile rgbds.zip | ||
Expand-Archive rgbds.zip | ||
- name: Run rgbasm on hardware.inc | ||
run: | | ||
rgbds/rgbasm.exe hardware.inc |