CI Run upon Git Push. #469
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: on Git Push | |
run-name: CI Run upon Git Push. | |
on: | |
push: | |
branches: | |
- main | |
- stable | |
- next | |
- testing | |
- staging | |
- edge | |
- experimental | |
jobs: | |
develop_on: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
env: | |
TERM: xterm-256color | |
CONTAINER_USERNAME: ${{ secrets.CONTAINER_USERNAME }} | |
CONTAINER_PASSWORD: ${{ secrets.CONTAINER_PASSWORD }} | |
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} | |
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} | |
PROJECT_SIMULATE_RELEASE_REPO: true | |
steps: | |
- name: Checking out designated commit - GITHUB ACTIONS | |
id: git_check_out | |
uses: actions/checkout@v4 | |
- name: Initialize - GITHUB ACTIONS | |
id: git_initialize | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Github Action Automated Runner" | |
- name: Execute repo's AutomataCI - PURGE | |
id: native_ci_purge | |
run: | | |
./ci.cmd purge | |
- name: Execute repo's AutomataCI - CLEAN | |
id: native_ci_clean | |
run: | | |
./ci.cmd clean | |
- name: Execute repo's AutomataCI - ENVIRONMENT | |
id: native_ci_env | |
run: | | |
./ci.cmd env | |
- name: Execute repo's AutomataCI - SETUP | |
id: native_ci_setup | |
run: | | |
./ci.cmd setup | |
- name: Execute repo's AutomataCI - START | |
id: native_ci_start | |
run: | | |
./ci.cmd start | |
- name: Execute repo's AutomataCI - PREPARE | |
id: native_ci_prepare | |
run: | | |
./ci.cmd prepare | |
- name: Execute repo's AutomataCI - TEST | |
id: native_ci_test | |
run: | | |
./ci.cmd test | |
- name: Execute repo's AutomataCI - MATERIALIZE | |
id: native_ci_materialize | |
run: | | |
./ci.cmd materialize | |
- name: Execute repo's AutomataCI - BUILD | |
id: native_ci_build | |
run: | | |
./ci.cmd build | |
- name: Execute repo's AutomataCI - PACKAGE | |
id: native_ci_package | |
run: | | |
./ci.cmd package | |
- name: Execute repo's AutomataCI - RELEASE | |
id: native_ci_release | |
run: | | |
./ci.cmd release | |
- name: Execute repo's AutomataCI - STOP | |
id: native_ci_stop | |
run: | | |
./ci.cmd stop | |
- name: Archive Payloads Artifacts | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build_${{ matrix.os }} | |
path: | | |
build/ | |
log/ | |
pkg/ | |
public/ | |
- name: Archive Workspace Artifacts | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: workspace_${{ matrix.os }} | |
path: | | |
bin/ | |
lib/ | |
tmp/ | |
tool/ | |
releases/ |