Skip to content

Commit 8c1a467

Browse files
committed
Test 2, setup environment
1 parent a0350cf commit 8c1a467

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/hil-library-test.yml

+2-12
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ jobs:
4646
# Fetch variables and move them to the GITHUB_OUTPUT and fetch HIL information
4747
- id: startup
4848
run: |
49-
# set the project name
50-
export $(xfp-dev arduino workspace-setup project-name)
51-
echo "project=$PROJECTNAME" >> $GITHUB_OUTPUT
52-
5349
# find libraries with makefile
5450
declare -a data
5551
cd $GITHUB_WORKSPACE
@@ -64,7 +60,6 @@ jobs:
6460
6561
# Connect the GITHUB_OUTPUT to the variables and the workflow output mechanism
6662
outputs:
67-
project: ${{ steps.startup.outputs.project }}
6863
libraries: ${{ steps.startup.outputs.libraries }}
6964

7065

@@ -98,30 +93,25 @@ jobs:
9893
steps:
9994
- name: Environment
10095
run: |
101-
mkdir -p "$HOME/Arduino/libraries"
102-
xfp-dev arduino workspace-setup --path $HOME/Arduino/libraries
96+
cd $HOME
10397
rm -rf ~/.arduino15/packages/Infineon/hardware/xmc/*
10498
ln -s $GITHUB_WORKSPACE ~/.arduino15/packages/Infineon/hardware/xmc/$TEST_VERSION
105-
10699
cd /opt/runner_support/
107100
108101
REPO="$(basename "$GITHUB_REPOSITORY")"
109-
PROJECT=${{ needs.setup.outputs.project }}
110102
LIBRARIES=${{ matrix.libraries }}
111103
HAS_EXT=$(basename ${{ matrix.libraries }})
112104
113105
echo "repo=$REPO" >> $GITHUB_ENV
114-
echo "project=$PROJECT" >> $GITHUB_ENV
115106
echo "libraries=$LIBRARIES" >> $GITHUB_ENV
116107
echo "version=$TEST_VERSION" >> $GITHUB_ENV
117108
echo "has=$HAS_EXT" >> $GITHUB_ENV
118109
119110
# XMC_TEST=$(./py_checkusb.py --has ${HAS_EXT} --onoff on --json)
120111
121112
echo "Repo " $REPO
122-
echo "Project name " $PROJECT
123113
echo "Libraries " $LIBRARIES
124-
echo "Version " ${version}
114+
echo "Version " ${TEST_VERSION}
125115
echo "Has extension " $HAS_EXT
126116
echo "XMC_TEST " $XMC_TEST
127117

0 commit comments

Comments
 (0)