Allow user to override RS03 medium size, and add --bruteforce-rs03-search #299
Workflow file for this run
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: non-regression tests | |
| on: [pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| mac: | |
| runs-on: macos-latest | |
| strategy: | |
| matrix: | |
| ui: [cli, gui] | |
| printf: [fmtdbg, normal] | |
| include: | |
| - ui: cli | |
| clionly: --with-gui=no | |
| - printf: fmtdbg | |
| debugprintf: --with-debug-printf-format | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - name: install prerequisites (GUI) | |
| if: matrix.ui == 'gui' | |
| env: | |
| HOMEBREW_NO_INSTALL_CLEANUP: 1 | |
| run: brew install gtk+3 adwaita-icon-theme | |
| - name: configure | |
| run: | | |
| set +x | |
| ./configure ${{ matrix.clionly }} ${{ matrix.debugprintf }} --with-werror | |
| - name: make | |
| run: | | |
| cat Makefile.config | |
| echo xxxxxxxxxxxxxxxxxxxxxxx | |
| grep -i icon GNUmakefile | |
| make -j$(sysctl -n hw.ncpu || 2) | |
| - name: check executability | |
| run: ./dvdisaster --version | |
| - name: check executable (GUI) | |
| if: matrix.ui == 'gui' | |
| run: | | |
| ./dvdisaster --version | |
| if ./dvdisaster --version | grep NOGUI; then exit 1; fi | |
| - name: check executable (CLI) | |
| if: matrix.ui == 'cli' | |
| run: | | |
| ./dvdisaster --version | |
| ./dvdisaster --version | grep NOGUI | |
| - name: prepare dist | |
| run: ./.github/workflows/make-dist.sh ${{ github.ref }} | |
| - name: regression tests | |
| if: matrix.printf == 'normal' | |
| env: | |
| REGTEST_NO_UTF8: 1 | |
| run: mkdir /var/tmp/regtest && ./regtest/runtests.sh | |
| win: | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| ui: [cli, gui] | |
| printf: [fmtdbg, normal] | |
| include: | |
| - ui: cli | |
| clionly: --with-gui=no | |
| - printf: fmtdbg | |
| debugprintf: --with-debug-printf-format | |
| defaults: | |
| run: | |
| shell: msys2 {0} | |
| steps: | |
| - uses: msys2/setup-msys2@v2 | |
| with: | |
| msystem: MINGW64 | |
| update: false | |
| install: git diffutils make pkg-config mingw-w64-x86_64-glib2 mingw-w64-x86_64-gcc mingw-w64-x86_64-ntldd-git man zip | |
| - name: install GUI prereqs | |
| if: matrix.ui == 'gui' | |
| run: pacman -S --noconfirm mingw-w64-x86_64-gtk3 mingw-w64-x86_64-librsvg | |
| - name: git config | |
| run: git config --global core.autocrlf input | |
| shell: bash | |
| - uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - name: configure | |
| run: | | |
| echo running ./configure ${{ matrix.clionly }} ${{ matrix.debugprintf }} --with-werror | |
| ./configure ${{ matrix.clionly }} ${{ matrix.debugprintf }} --with-werror | |
| - name: make | |
| run: nproc && make -j$(nproc) | |
| - name: check executable | |
| run: | | |
| ./dvdisaster.exe --version | |
| file dvdisaster.exe | |
| if ./dvdisaster.exe --version | grep dirty; then exit 1; fi | |
| file dvdisaster.exe | grep -q 'x86-64' | |
| file dvdisaster.exe | grep -q 'for MS Windows' | |
| - name: check executable (GUI) | |
| if: matrix.ui == 'gui' | |
| run: | | |
| ./dvdisaster.exe --version | |
| if ./dvdisaster.exe --version | grep NOGUI; then exit 1; fi | |
| - name: check executable (CLI) | |
| if: matrix.ui == 'cli' | |
| run: | | |
| ./dvdisaster.exe --version | |
| ./dvdisaster.exe --version | grep NOGUI | |
| - name: try to prepare dist | |
| run: ./.github/workflows/make-dist.sh ${{ github.ref }} | |
| - name: run regression tests | |
| if: matrix.printf == 'normal' | |
| env: | |
| REGTEST_NO_UTF8: 1 | |
| run: mkdir /var/tmp/regtest && ./regtest/runtests.sh | |
| linux: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| ui: [cli, gui] | |
| printf: [fmtdbg, normal] | |
| include: | |
| - ui: cli | |
| clionly: --with-gui=no | |
| - printf: fmtdbg | |
| debugprintf: --with-debug-printf-format | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - name: install prerequisites | |
| env: | |
| DEBIAN_FRONTEND: noninteractive | |
| run: sudo apt-get update && sudo apt-get install -y libglib2.0-dev man jq | |
| - name: install prerequisites (GUI) | |
| if: matrix.ui == 'gui' | |
| env: | |
| DEBIAN_FRONTEND: noninteractive | |
| run: sudo apt-get install -y libgtk-3-dev | |
| - name: configure | |
| run: | | |
| echo ./configure ${{ matrix.clionly }} ${{ matrix.debugprintf }} --with-werror | |
| ./configure ${{ matrix.clionly }} ${{ matrix.debugprintf }} --with-werror | |
| - name: make | |
| run: nproc && make -j$(nproc) | |
| - name: check executability | |
| run: ./dvdisaster --version | |
| - name: check executable (GUI) | |
| if: matrix.ui == 'gui' | |
| run: | | |
| ./dvdisaster --version | |
| if ./dvdisaster --version | grep NOGUI; then exit 1; fi | |
| - name: check executable (CLI) | |
| if: matrix.ui == 'cli' | |
| run: | | |
| ./dvdisaster --version | |
| ./dvdisaster --version | grep NOGUI | |
| - name: prepare dist | |
| run: ./.github/workflows/make-dist.sh ${{ github.ref }} | |
| - name: regression tests | |
| if: matrix.printf == 'normal' | |
| env: | |
| REGTEST_NO_UTF8: 1 | |
| run: mkdir /var/tmp/regtest && ./regtest/runtests.sh |