CI: make grab of libus own step
This commit is contained in:
parent
61c885c9af
commit
a48d25719d
|
@ -6,11 +6,12 @@ jobs:
|
||||||
Build:
|
Build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get Libusb for windows
|
||||||
|
run: wget https://github.com/libusb/libusb/releases/download/v1.0.29/libusb-1.0.29.7z -o ${{ gitea.workspace }}/libusb.7z; ls ${{ gitea.workspace }}
|
||||||
- name: Install dependancies
|
- name: Install dependancies
|
||||||
run: |
|
run: |
|
||||||
apt update
|
apt update
|
||||||
apt install -y cmake mingw-w64-x86-64-dev gcc-mingw-w64 g++-mingw-w64 p7zip-full wget
|
apt install -y cmake mingw-w64-x86-64-dev gcc-mingw-w64 g++-mingw-w64 p7zip-full
|
||||||
wget https://github.com/libusb/libusb/releases/download/v1.0.29/libusb-1.0.29.7z -o ${{ gitea.workspace }}/libusb.7z
|
|
||||||
mkdir ${{ gitea.workspace }}/libusb
|
mkdir ${{ gitea.workspace }}/libusb
|
||||||
7z x ${{ gitea.workspace }}/libusb.7z -o${{ gitea.workspace }}/libusb
|
7z x ${{ gitea.workspace }}/libusb.7z -o${{ gitea.workspace }}/libusb
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
|
|
Loading…
Reference in a new issue