Skip to content

Commit 4a47e4d

Browse files
addjust test case to build library only
1 parent d356356 commit 4a47e4d

File tree

1 file changed

+3
-31
lines changed

1 file changed

+3
-31
lines changed

.github/workflows/xc32-sftp.yml

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ jobs:
1010
wolfssh-xc32:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Checkout app repository
14-
uses: actions/checkout@v3
15-
with:
16-
repository: JacobBarthelmeh/net_apps_sam_e70_v71
17-
ref: sftp_server
18-
path: net_apps_sam_e70_v71
19-
2013
- name: Set up environment
2114
run: |
2215
sudo apt-get update
@@ -74,28 +67,7 @@ jobs:
7467
with:
7568
path: wolfssh/
7669

77-
- name: Replace wolfssh source code
78-
run: |
79-
# Remove existing wolfssh directory if it exists
80-
if [ -d "net_apps_sam_e70_v71/apps/wolfssh_sftp_server_freertos/firmware/src/third_party/wolfssh" ]; then
81-
rm -rf net_apps_sam_e70_v71/apps/wolfssh_sftp_server_freertos/firmware/src/third_party/wolfssh
82-
fi
83-
# Copy the PR wolfssh code
84-
mkdir -p net_apps_sam_e70_v71/apps/wolfssh_sftp_server_freertos/firmware/src/third_party/wolfssh
85-
cp -R wolfssh/* net_apps_sam_e70_v71/apps/wolfssh_sftp_server_freertos/firmware/src/third_party/wolfssh/
86-
echo "Replaced wolfssh source code with current PR's source code"
87-
88-
- name: Generate and compile the project
89-
working-directory: net_apps_sam_e70_v71/apps/wolfssh_sftp_server_freertos/firmware
90-
run: |
91-
sudo chmod +x /opt/microchip/mplabx/mplab_platform/bin/packmanagercli.sh
92-
echo "List available packs"
93-
sudo -E /opt/microchip/mplabx/mplab_platform/bin/packmanagercli.sh --list
94-
echo "Update Microchip [email protected]"
95-
sudo -E /opt/microchip/mplabx/mplab_platform/bin/packmanagercli.sh --update-packs [email protected]
96-
# Add DISPLAY variable to handle headless environment
97-
export DISPLAY=:0
98-
/opt/microchip/mplabx/mplab_platform/bin/prjMakefilesGenerator.sh wolfssh_sftp_server_freertos.X
99-
cd wolfssh_sftp_server_freertos.X
100-
make
70+
- name: Build wolfssh library
71+
working-directory: wolfssh/ide/mplabx/wolfssh.X
72+
run: make
10173

0 commit comments

Comments
 (0)