Skip to content

Commit

Permalink
Update build-x86.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chbinousamy committed Oct 17, 2023
1 parent 73692ad commit f82db18
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ jobs:
run: make
- name: make distcheck
run: make distcheck
- name: Archive code coverage results
- name: install
run: CC=clang cmake -DCMAKE_INSTALL_PREFIX=./binaries .. && make install
- name: Archive binaries
uses: actions/upload-artifact@v3
with:
name: can-utils-trunk.tar.gz
path: ./can-utils-trunk.tar.gz
name: binaries
path: ./binaries

test:
needs: build
Expand All @@ -28,9 +30,9 @@ jobs:
- name: Download can utils artifact
uses: actions/download-artifact@v3
with:
name: can-utils-trunk.tar.gz
name: binaries
- run: |
tar -xzf can-utils-trunk.tar.gz
unzip binaries.zip
ls
- name: test vcan
run: |
Expand All @@ -41,5 +43,5 @@ jobs:
sudo ip link set vcan0 mtu 16
sudo ip link set up vcan0
ifconfig vcan0
./candump vcan0 &
./cansend vcan0 5A2#11.2233.445D556677.66
./binaries/candump vcan0 &
./binaries/cansend vcan0 5A2#11.2233.445D556677.66

0 comments on commit f82db18

Please sign in to comment.