Skip to content

Commit

Permalink
remove github actions we can't run
Browse files Browse the repository at this point in the history
  • Loading branch information
hansfbaier committed May 15, 2024
1 parent 0ab41f4 commit da08b6f
Showing 1 changed file with 0 additions and 64 deletions.
64 changes: 0 additions & 64 deletions .github/workflows/daily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,67 +60,3 @@ jobs:
git config --global --add safe.directory /__w/jtcores/jtcores
git config --global --add safe.directory /__w/jtcores/jtcores/modules/jtframe/target/pocket
./setprj.sh jtseed 10 ${{ matrix.core }} --target mist --nodbg
- id: upload
uses: actions/upload-artifact@v3-node20
with:
name: release
path: release
retention-days: 1

compile_cores20:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
needs:
- list_cores
strategy:
fail-fast: false
matrix:
core: ${{ fromJSON(needs.list_cores.outputs.cores) }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
token: ${{ secrets.PAT }}
- id: compile
run: |
# Compilation on Quartus 20.1
docker run -e BETAKEY=${{ secrets.BETAKEY }} --network host -v `pwd`:/jtcores jotego/jtcore20 /jtcores/modules/jtframe/devops/xjtcore.sh ${{matrix.core}} mister pocket sidi sidi128
- id: upload
uses: actions/upload-artifact@v3-node20
with:
name: release
path: release
retention-days: 1

upload:
runs-on: ubuntu-latest
needs: [ compile_cores20 ]
if: ${{ always() }} # upload the results even if some core did not compile correctly
steps:
- uses: actions/checkout@v4
- name: Download all artifacts
uses: actions/download-artifact@v2
- name: Set zip file name
run: |
echo ARTIFACT_NAME=`git rev-parse --short HEAD`.zip >> "$GITHUB_ENV"
echo COMMIT_DATE=$(git show -s --format=%ci 2> /dev/null) >> "$GITHUB_ENV"
- name: Make zip file
run: |
ls -l release/*
echo ARTIFACT_NAME=$ARTIFACT_NAME
zip -r $ARTIFACT_NAME release
touch -m -d "$COMMIT_DATE" "$ARTIFACT_NAME"
ls -l $ARTIFACT_NAME
- name: Upload bundle
uses: bayssmekanique/action-simple-file-upload@v2
with:
user: ${{ secrets.FTPUSER }}
password: ${{ secrets.FTPPASS }}
host: jotego.es
src: ${{ env.ARTIFACT_NAME }}
dest: ${{ env.ARTIFACT_NAME }}
- uses: geekyeggo/delete-artifact@v4
with:
name: $ARTIFACT_NAME

0 comments on commit da08b6f

Please sign in to comment.