File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Testing
2+ on :
3+ - push
4+ - pull_request
5+
6+ jobs :
7+ macos-testing :
8+ runs-on : macos-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - name : Install RGBDS
12+ run : |
13+ brew install rgbds
14+ - name : Run rgbasm on hardware.inc
15+ run : |
16+ rgbasm hardware.inc
17+
18+ windows-testing :
19+ runs-on : windows-latest
20+ steps :
21+ - uses : actions/checkout@v2
22+ - name : Install RGBDS
23+ run : |
24+ # Find the URL of the latest Win64 release with the GitHub API
25+ $githubLatestReleasesAPI = "https://api.github.com/repos/gbdev/rgbds/releases/latest"
26+ $githubReleaseURLs = ((Invoke-WebRequest $githubLatestReleasesAPI) | ConvertFrom-Json).assets.browser_download_url
27+ $githubWinReleaseURL = ($githubReleaseURLs | Select-String "win64").ToString()
28+ # Download latest release
29+ Invoke-WebRequest $githubWinReleaseURL -OutFile rgbds.zip
30+ Expand-Archive rgbds.zip
31+ - name : Run rgbasm on hardware.inc
32+ run : |
33+ rgbds/rgbasm.exe hardware.inc
You can’t perform that action at this time.
0 commit comments