We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc83700 commit cb97e40Copy full SHA for cb97e40
1 file changed
.github/workflows/build.yml
@@ -20,7 +20,9 @@ jobs:
20
- name: Get RosBE build specifics
21
id: get_rosbe_spec
22
run: |
23
- gcc -march=native -Q --help=target | grep "\-march= " | awk '{print $NF}'
+ # Print actual cpu-type option only.
24
+ echo -march = $(gcc -march=native -Q --help=target | grep "\-march= " | awk '{print $NF}')
25
+ # Take all options/text into account.
26
echo march-sha=$(gcc -march=native -Q --help=target | sha1sum | awk '{print $1}') >> $GITHUB_OUTPUT
27
echo git-sha=$(git ls-remote https://github.com/zefklop/RosBE.git | grep unix_amd64 | awk '{print $1}') >> $GITHUB_OUTPUT
28
wget https://gist.githubusercontent.com/zefklop/b2d6a0b470c70183e93d5285a03f5899/raw/build_rosbe_ci.sh
0 commit comments