Skip to content

Commit

Permalink
v0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sumeet-chand committed Jun 3, 2024
1 parent bcd9666 commit c1930f7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build_and_test_windows:
runs-on: windows-latest # Use a Windows runner
runs-on: windows-latest

steps:
- name: Checkout repository
Expand All @@ -30,7 +30,8 @@ jobs:
run: python tests.py

build_and_test_macos:
runs-on: macos-latest # Use a macOS runner
needs: build_and_test_windows # Wait for Windows job to complete successfully
runs-on: macos-latest

steps:
- name: Checkout repository
Expand All @@ -53,7 +54,8 @@ jobs:
run: python tests.py

build_and_test_linux:
runs-on: ubuntu-latest # As of June 2024 Github actions uses platform: Linux-6.5.0-1021-azure-x86_64
needs: build_and_test_macos # Wait for macOS job to complete successfully
runs-on: ubuntu-latest

steps:
- name: Checkout repository
Expand All @@ -75,3 +77,11 @@ jobs:
- name: Run Linux Tests
run: python tests.py

- name: Commit changes # if all tests pass then push changes
if: ${{ job.status == 'success' }}
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -am "CI: Automated commit after successful tests"
git push
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you see a missing feature please suggest by contacting author Sumeet Singh @
There are 2 options to build

1. locally by running command with python installed: ```pyinstaller --onefile --noconsole --icon=assets/view_earth.ico --distpath=. Heroes3MapLiker.py```
2. If making changes to this codebase and pushing a Github CI/CD pipeline ```.github\workflows\actions.yml``` pushes changes, builds binaries, tests using ./tests.py, if passes commits and finally: (TO BE INCLUDED CREATES RELEASES)
2. If making changes to this codebase and pushing a Github CI/CD pipeline ```.github\workflows\actions.yml``` pushes changes, builds binaries, tests using ./tests.py, if all pass, commits, TBD: CREATES RELEASES


# Roadmap
Expand Down Expand Up @@ -51,8 +51,6 @@ This software and code is provided for non-commercial use and may be modified at

# Credits

https://heroes.thelazy.net for providing map info

Star icon by paomedia (Arnaud) from icon-icons.com

name_ascending/descending.png by Dave Gandy from icon-icons.com
* https://heroes.thelazy.net for providing map info
* Star icon by paomedia (Arnaud) from icon-icons.com
* name_ascending/descending.png by Dave Gandy from icon-icons.com

0 comments on commit c1930f7

Please sign in to comment.