Skip to content
This repository has been archived by the owner on Dec 21, 2024. It is now read-only.

Commit

Permalink
Add ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
doctorixx committed Aug 5, 2024
1 parent 1990757 commit b0f3364
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
on: push
name: Build artifacts
jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}

steps:
- name: Check-out repository
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: |
**/requirements*.txt
- name: Install your Dependencies
run: |
pip install -r requirements.txt
- name: Build Executable with Nuitka
uses: Nuitka/Nuitka-Action@main
with:
nuitka-version: main
script-name: main.py
onefile: true

- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ runner.os }} Build
path: |
build/*.exe
build/*.bin
build/*.app/**/*
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ Check "*.stl" fies in project root
![](images/stl_file.png "Stl file in explorer")
## Developments builds
You can find developments build in GitHub Actions
15 changes: 15 additions & 0 deletions skyline_wizard.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from core import process_github_stats

print("Welcome to github-skyline generator By doctorixx \n")
print("Enter github username")
username = input("> ") # CHANGE TO YOUR USERNAME
print("Enter year")
year = input("> ") # CHANGE TO YOUR YEAR
filename = f"{username}-{year}.stl" # <- Generated filename
print("[/] Generation started")
process_github_stats(username, year, filename)
print("[+] Generation completed")
print(f"[+] Saved to file {filename}")
print("Press enter to exit...")
input()

0 comments on commit b0f3364

Please sign in to comment.