-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* echo PS2SDK path in build action * cleaned up src/Makefile * only save artifacts for main/tag builds * only save artifacts for main/tag builds * move SYSTEM.CNF to dist folder * update problems in Makefile * update gitignore for python cache * limit when build runs * run linter recursively * add linter GH action * rename draw.h to pass linter * move files to new structure * add dist readme * add build workflow * add missing files * stop ignoring .obj files because they are important * use ps2dev container for everything * add newline to force new commit date Co-authored-by: Tom Marks <[email protected]>
- Loading branch information
Showing
24 changed files
with
10,236 additions
and
22 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,26 @@ | ||
name: Build | ||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: | ||
- v*.*.* | ||
pull_request: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ps2dev/ps2dev | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: apk add python3 make gmp-dev mpfr-dev mpc1-dev | ||
- run: make assets | ||
- run: echo "using PS2 SDK @ $PS2SDK" | ||
- run: make dist/test.elf | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: game package | ||
path: dist/ | ||
if: ${{ github.ref == 'refs/head/main' || startsWith(github.ref, 'refs/tags') }} | ||
|
||
|
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,12 @@ | ||
name: Run Linter | ||
on: [push] | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v1 | ||
- run: pip install cpplint | ||
- run: make lint | ||
|
||
|
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
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
Oops, something went wrong.