Files
RomWBW/.github/workflows/commit.yml
Wayne Warthen aa05f2c2bb Fix Build
2021-03-13 19:55:09 -08:00

67 lines
1.3 KiB
YAML

name: Commit Build
on:
push:
branches:
- master
- dev
tags-ignore:
- v*
jobs:
buildLinux:
runs-on: ubuntu-latest
steps:
- uses: rlespinasse/github-slug-action@v3.x
- uses: actions/checkout@v2
- name: Build
run: |
export TZ='America/Los_Angeles'
sudo apt-get install libncurses-dev
sudo apt-get install srecord
make
make clean
rm -rf .git*
- name: List Output
run: |
cd Binary
ls -l
find -type f -exec md5sum '{}' \;
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: RomWBW_Linux-${{env.GITHUB_REF_SLUG}}-${{env.GITHUB_SHA_SHORT}}
path: .
buildMacOS:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: |
export TZ='America/Los_Angeles'
brew install srecord
make
make clean
rm -rf .git*
- name: List Output
run: |
cd Binary
ls -l
find . -type f -exec md5 -r -- '{}' +;
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: RomWBW_MacOS
path: .