Files
Pegasys-RomWBW/.github/workflows/commit.yml
Wayne Warthen ea123856f4 MacOS Build Fix
2020-08-22 13:03:59 -07:00

62 lines
1.3 KiB
YAML

name: Commit Build
on:
push:
branches:
- master
- dev
tags-ignore:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: rlespinasse/github-slug-action@1.1.0
- uses: actions/checkout@v2
- name: Build
run: |
sudo apt-get install libncurses-dev
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: |
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-${{env.GITHUB_REF_SLUG}}-${{env.GITHUB_SHA_SHORT}}
path: .