Merge pull request #467 from b1ackmai1er/master #1082
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
name: Commit Build | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- '**' | |
jobs: | |
buildLinux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
- name: Get Commit Ref | |
run: | | |
COMMIT_REF=$(git rev-parse --short $GITHUB_SHA) | |
echo "COMMIT_REF: $COMMIT_REF" | |
echo "COMMIT_REF=$COMMIT_REF" >>$GITHUB_ENV | |
- name: Build | |
run: | | |
export TZ='America/Los_Angeles' | |
sudo apt-get install srecord | |
make distlog | |
rm -rf .git* | |
- name: List Output | |
run: | | |
cd Binary | |
ls -l | |
find -type f -exec md5sum '{}' \; | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4.3.0 | |
with: | |
name: RomWBW-${{env.COMMIT_REF}}-Linux | |
path: . | |
buildMacOS: | |
runs-on: macOS-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
- name: Get Commit Ref | |
run: | | |
COMMIT_REF=$(git rev-parse --short $GITHUB_SHA) | |
echo "COMMIT_REF: $COMMIT_REF" | |
echo "COMMIT_REF=$COMMIT_REF" >>$GITHUB_ENV | |
- name: Build | |
run: | | |
export TZ='America/Los_Angeles' | |
brew install srecord | |
make distlog | |
rm -rf .git* | |
- name: List Output | |
run: | | |
cd Binary | |
ls -l | |
find . -type f -exec md5 -r -- '{}' +; | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4.3.0 | |
with: | |
name: RomWBW-${{env.COMMIT_REF}}-MacOS | |
path: . |