chore: better use of configure features

This commit is contained in:
Stéphane Lesimple
2021-01-17 11:34:37 +01:00
parent c72b85bb9a
commit 9e5ba80e29
39 changed files with 550 additions and 525 deletions

View File

@@ -19,7 +19,7 @@ jobs:
msystem: MINGW32
grep: 386
- ui: cli
clionly: 1
clionly: --with-cli-only
defaults:
run:
shell: msys2 {0}
@@ -37,9 +37,7 @@ jobs:
shell: bash
- uses: actions/checkout@v2
- name: configure
env:
CLI_ONLY: ${{ matrix.clionly }}
run: ./configure
run: ./configure ${{ matrix.clionly }}
- name: make
run: nproc && make -j$(nproc)
- name: check executable
@@ -80,7 +78,7 @@ jobs:
- name: install prerequisites
run: sudo apt update && sudo apt install -y libglib2.0-dev ghostscript man
- name: configure
run: env CLI_ONLY=1 ./configure
run: ./configure --with-cli-only
- name: make
run: nproc && make -j$(nproc) && make static && mv -f dvdisaster-static dvdisaster
- name: check executable

View File

@@ -89,7 +89,7 @@ jobs:
shell: bash
- uses: actions/checkout@v2
- name: configure
run: env CLI_ONLY=1 ./configure
run: ./configure --with-cli-only
- name: make
run: nproc && make -j$(nproc)
- name: check executable
@@ -125,7 +125,7 @@ jobs:
shell: bash
- uses: actions/checkout@v2
- name: configure
run: env CLI_ONLY=1 ./configure
run: ./configure --with-cli-only
- name: make
run: nproc && make -j$(nproc)
- name: check executable
@@ -153,7 +153,7 @@ jobs:
- name: install prerequisites
run: sudo apt update && sudo apt install -y libglib2.0-dev ghostscript man jq
- name: configure
run: env CLI_ONLY=1 ./configure
run: ./configure --with-cli-only
- name: make
run: nproc && make -j$(nproc)
- name: check executability