Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add libusb and gtk3 to linux CI build. #105

Merged
merged 1 commit into from
Aug 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ jobs:
- name: Install packages
run: |
sudo apt-get update
sudo apt-get -o Dir::Cache::Archives=`pwd`/packages install libelf-dev libglew-dev freeglut3-dev ninja-build
sudo apt-get -o Dir::Cache::Archives=`pwd`/packages install libelf-dev libglew-dev freeglut3-dev ninja-build libusb-1.0.0-dev libgtk-3-dev

- name: Cache permissions
run: sudo chmod -R 744 packages

- name: Configure build
run: cd ${{ runner.workspace }}/MINI404 && ./configure --target-list="buddy-softmmu"
run: cd ${{ runner.workspace }}/MINI404 && ./configure --target-list="buddy-softmmu" --enable-libusb --enable-gtk

- name: Build qemu-system-buddy
run: cd ${{ runner.workspace }}/MINI404 && make -j3
Expand Down Expand Up @@ -88,6 +88,7 @@ jobs:
cd ${{ runner.workspace }}/MINI404/build
mv buddy-softmmu Mini404-dev-linux
mv assets Mini404-dev-linux
mv pc-bios Mini404-dev-linux
tar -jhcvf Mini404-dev-linux.tar.bz2 Mini404-dev-linux
- name: Upload artifact
if: ${{ !github.event.pull_request }}
Expand Down