This repository was archived by the owner on Sep 24, 2025. It is now read-only.
BUILD TEST #26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: BUILD TEST | |
| env: | |
| SOURCE_REPO: LouDnl/USBSID-Pico-driver | |
| AUTOMATIC_MONITOR: true | |
| FILES: "README.md LICENSE USBSID* vice-makefile/Makefile.am" # seperate multiple entries with , | |
| THE_SERVER: ${{ github.server_url }} | |
| PATH_SOURCE_CHECKOUT: temp_folder | |
| PATH_ARTIFACTS: dist | |
| on: | |
| workflow_dispatch: | |
| concurrency: | |
| group: USBSID-Pico TEST Build | |
| cancel-in-progress: true | |
| jobs: | |
| build_deb: | |
| name: Build MacOs Package | |
| runs-on: macos-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ui: [ { name: 'GTK3', | |
| conf: '--enable-gtk3ui --enable-usbsid', | |
| deps: 'libevdev-dev libglew-dev libgtk-3-dev libpulse-dev' }, | |
| { name: 'SDL2', | |
| conf: '--enable-sdl2ui --with-sdlsound --without-pulse', | |
| deps: 'libsdl2-dev libsdl2-image-dev' }, | |
| { name: 'SDL1', | |
| conf: '--enable-sdl1ui --with-sdlsound --without-pulse', | |
| deps: 'libsdl1.2-dev libsdl-image1.2-dev' }, | |
| { name: 'Headless', | |
| conf: '--enable-headlessui --with-pulse', | |
| deps: 'libpulse-dev' } | |
| ] | |
| steps: | |
| - name: Checkout Source | |
| uses: actions/checkout@v4 | |
| - name: Checkout USBSID-Pico driver | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: ${{ env.SOURCE_REPO }} | |
| path: ${{ env.PATH_SOURCE_CHECKOUT }} | |
| - name: Copy files | |
| run: | | |
| mkdir -p vice/src/lib/libusbsiddrv | |
| cd $PATH_SOURCE_CHECKOUT | |
| cp $FILES ../vice/src/lib/libusbsiddrv/ | |
| cd .. | |
| pwd | |
| - name: deps [macOS] | |
| if: runner.os == 'macOS' | |
| run: | | |
| export HOMEBREW_NO_INSTALL_CLEANUP=1 | |
| brew update | |
| brew upgrade || true | |
| brew uninstall --ignore-dependencies --force [email protected] | |
| brew install \ | |
| dos2unix \ | |
| autoconf \ | |
| automake \ | |
| libtool \ | |
| pkgconf \ | |
| coreutils \ | |
| gnu-sed \ | |
| libgcrypt \ | |
| xa \ | |
| gtk+3 \ | |
| sdl \ | |
| sdl2 \ | |
| librsvg \ | |
| adwaita-icon-theme \ | |
| glew \ | |
| libusb \ | |
| libusb-compat | |
| - name: Build | |
| run: | | |
| mkdir -p build/usr | |
| cd vice | |
| ./src/buildtools/genvicedate_h.sh | |
| ./autogen.sh | |
| # ALSA is required for SDL2 as well for midi support | |
| ./configure --enable-option-checking=fatal \ | |
| --prefix=/usr \ | |
| --disable-arch \ | |
| --enable-gtk3ui \ | |
| --enable-usbsid \ | |
| --enable-cpuhistory \ | |
| --enable-parsid \ | |
| --with-pulse \ | |
| --with-alsa \ | |
| --with-fastsid \ | |
| --with-resid | |
| make -j $(sysctl -n hw.ncpu) -s | |
| make bindistzip |