Skip to content

Commit

Permalink
actions: build action
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain Gadrat committed Sep 19, 2023
1 parent 9ea4288 commit 609cf4d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/compile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build

on:
push:
branches: [ "build-deps" ]
pull_request:
branches: [ "build-deps" ]
workflow_dispatch

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: build-dep-cc65
run: deps/build-deps.d/00-cc65.sh
- name: build-dep-huffmunch
run: deps/build-deps.d/00-huffmunch.sh
- name: build-dep-xa65
run: deps/build-deps.d/00-xa65.sh
- name: build-dep-gcc
run: deps/build-deps.d/01-gcc.sh
- name: build-stb
run: XA_BIN=$(pwd)/deps/xa65-stb/xa/xa CC_BIN=$(pwd)/deps/gcc-6502-bits/prefix/bin/6502-gcc HUFFMUNCH_BIN=$(pwd)/deps/huffmunch/huffmunch XA_LST=1 ./build.sh
- uses: actions/upload-artifact@v3
with:
name: roms
path: |
*.nes
/tmp/*.lst

0 comments on commit 609cf4d

Please sign in to comment.