Skip to content

Commit

Permalink
Merge pull request #130 from MikroElektronika/improvement/core-build-…
Browse files Browse the repository at this point in the history
…tool

Updated core build tool for testing release branches
  • Loading branch information
StrahinjaJacimovic authored Oct 25, 2024
2 parents 0901366 + 600be69 commit c70ec54
Show file tree
Hide file tree
Showing 4 changed files with 683 additions and 338 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/newCoreRecursiveBuild.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: New Core Files Build Test

on:
workflow_dispatch:

jobs:
recursiveCoreBuild:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Ensure full history is fetched, not just the latest commit

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Add GitHub Actions credentials
run: |
git config user.name github-actions
git config user.email [email protected]
- name: Fetch Main Branch
run: git fetch origin main:main # Ensure the main branch is fetched

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r scripts/requirements/shared.txt
pip install -r scripts/requirements/databases.txt
pip install colorama
pip install enums
sudo apt-get update
sudo apt-get install $(cat scripts/requirements/recursive_build.txt)
- name: Install NECTO
run: |
export NECTO_DOWNLOAD_URL=${{ secrets.NECTO_DEV_DOWNLOAD_URL }}
python -u scripts/install_necto.py
- name: Run Core Files Build
run: |
python -u scripts/recursive_build.py
- name: Archive test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: /home/runner/test_results
77 changes: 0 additions & 77 deletions .github/workflows/recursiveBuild.yaml

This file was deleted.

Loading

0 comments on commit c70ec54

Please sign in to comment.