Skip to content

Improve and fix call signatures. #59

Improve and fix call signatures.

Improve and fix call signatures. #59

Workflow file for this run

on:
push:
branches:
- dev
- develop/*
- fix/*
paths-ignore:
- README.md
- CHANGELOG.md
- .grenrc.yml
- .idea/*
- .vscode/*
name: DevelopmentBuild
jobs:
buildmac:
name: MacOSX
# env:
# ACTIONS_ALLOW_UNSECURE_COMMANDS: true
runs-on: macos-latest
timeout-minutes: 120
steps:
- name: Show Environment
run: set | grep GIT
- name: Setup Python environment
uses: actions/setup-python@v5
with:
python-version: 3.10.*
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/cache@v4
if: startsWith(runner.os, 'macOS')
with:
path: ~/Library/Caches/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Setup Environment
run: |
cd $GITHUB_WORKSPACE
bash compile.sh -S
- name: Build project
run: |
cd $GITHUB_WORKSPACE
bash compile.sh -a -A
- name: Dev Release
if: github.ref == 'refs/heads/dev'
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: release/*
buildwindows:
name: Windows
needs: buildmac
runs-on: windows-latest
timeout-minutes: 120
steps:
- name: Setup Python environment
uses: actions/setup-python@v5
with:
python-version: 3.10.*
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/cache@v4
if: startsWith(runner.os, 'Windows')
with:
path: ~\AppData\Local\pip\Cache
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Setup Environment
shell: powershell
run: |
cd $env:GITHUB_WORKSPACE
.\compile.ps1 -setupenv
- name: Build project
shell: powershell
run: |
cd $env:GITHUB_WORKSPACE
.\compile.ps1 -all -everything
- name: Dev Release
if: github.ref == 'refs/heads/dev'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: "latest"
file: release/*
tag: latest
overwrite: true
file_glob: true
#~ buildlinux:
#~ name: Linux
#~ needs: buildmac
#~ runs-on: ubuntu-latest
#~ steps:
#~ - name: Setup Python Environment
#~ uses: actions/setup-python@v5
#~ with:
#~ python-version: 3.10.*
#~ - name: Checkout code
#~ uses: actions/checkout@v4
#~ - name: Linux Lib Install
#~ run: |
#~ cd $GITHUB_WORKSPACE
#~ bash linuxdeps.sh
#~ - name: Setup Environment
#~ run: |
#~ cd $GITHUB_WORKSPACE
#~ bash compile.sh -S
#~ - name: Build project
#~ run: |
#~ cd $GITHUB_WORKSPACE
#~ bash compile.sh -a -A
#~ - name: Dev Release
#~ uses: svenstaro/upload-release-action@v2
#~ with:
#~ repo_token: ${{ secrets.GITHUB_TOKEN }}
#~ file: release/*
#~ tag: latest
#~ overwrite: true
#~ file_glob: true