Skip to content

Commit

Permalink
🐎 ci: 去除API版本校验
Browse files Browse the repository at this point in the history
  • Loading branch information
kalicyh committed Sep 19, 2024
1 parent b33cfd5 commit fae9f88
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/Build_Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ jobs:
echo "TARGET=${{ matrix.target }}" >> $GITHUB_ENV
echo "TARGET_HW=$(echo "${{ matrix.target }}" | sed 's/f//')" >> $GITHUB_ENV
- name: "Check API versions for consistency between targets"
run: |
set -e
N_API_HEADER_SIGNATURES=`ls -1 targets/f*/api_symbols.csv | xargs -I {} sh -c "head -n2 {} | md5sum" | sort -u | wc -l`
if [ $N_API_HEADER_SIGNATURES != 1 ] ; then
echo API versions aren\'t matching for available targets. Please update!
echo API versions are:
head -n2 targets/f*/api_symbols.csv
exit 1
fi
# - name: "Check API versions for consistency between targets"
# run: |
# set -e
# N_API_HEADER_SIGNATURES=`ls -1 targets/f*/api_symbols.csv | xargs -I {} sh -c "head -n2 {} | md5sum" | sort -u | wc -l`
# if [ $N_API_HEADER_SIGNATURES != 1 ] ; then
# echo API versions aren\'t matching for available targets. Please update!
# echo API versions are:
# head -n2 targets/f*/api_symbols.csv
# exit 1
# fi

- name: "Build the firmware and apps"
id: build-fw
Expand Down

0 comments on commit fae9f88

Please sign in to comment.