mirror of https://github.com/wwarthen/RomWBW.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.2 KiB
61 lines
1.2 KiB
name: Commit Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- dev
|
|
tags-ignore:
|
|
- v*
|
|
|
|
jobs:
|
|
buildLinux:
|
|
|
|
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
|
|
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: .
|