added dependency generator script. removed installing python in windo… #129
Workflow file for this run
This file contains hidden or 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: Linux | |
| on: [push] | |
| jobs: | |
| clone-linux: | |
| runs-on: [self-hosted, Linux] | |
| environment: RUNNER-LINUX | |
| steps: | |
| - name: remove existing clone | |
| working-directory: ${{ vars.ADDONS_DIR }} | |
| run: | | |
| pwd | |
| #echo "the commit that dispatched this job-- ${GITHUB_SHA}" | |
| if [ -d ofxEmotiBit ]; then | |
| echo "Directory exists." | |
| rm -rf ofxEmotiBit | |
| echo "clone removed" | |
| else | |
| echo "Directory does not already exist" | |
| fi | |
| - name: checkout repository | |
| uses: actions/checkout@v4 | |
| - name: move fresh clone to OF_ROOT | |
| run: cp -r ../$(echo ${{ github.repository }} | cut -d '/' -f 2) ${{ vars.ADDONS_DIR }} | |
| - name: record dependency commits | |
| working-directory: ${{ vars.ADDONS_DIR }} | |
| run: bash ofxEmotiBit/scripts/record-dependencies.sh ${{ vars.ADDONS_DIR }} linux | |
| - name: upload dependencies report | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: dependencies-report-linux | |
| path: ${{ vars.OFXEMOTIBIT_DIR }}/dependencies-report-linux.txt | |
| build-oscilloscope-linux: | |
| needs: clone-linux | |
| uses: ./.github/workflows/reusable-workflow-build-oscilloscope-linux.yml | |
| build-dataparser-linux: | |
| needs: clone-linux | |
| uses: ./.github/workflows/reusable-workflow-build-dataParser-linux.yml | |
| test-oscilloscope-linux: | |
| needs: build-oscilloscope-linux | |
| uses: ./.github/workflows/reusable-workflow-test-oscilloscope-linux.yml | |
| test-dataparser-linux: | |
| needs: build-dataparser-linux | |
| uses: ./.github/workflows/reusable-workflow-test-dataParser-linux.yml |