Skip to content

Commit d69f738

Browse files
committed
actions BUGFIX package build pwd
1 parent cbb3061 commit d69f738

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
packager: "sudo apt-get",
106106
packages: "python3-pip",
107107
snaps: "",
108-
build-cmd: "pip install apkg && apkg system-setup && apkg build && apkg install"
108+
build-cmd: ""
109109
}
110110

111111
steps:
@@ -135,6 +135,16 @@ jobs:
135135
sudo make install
136136
if: ${{ matrix.config.name == 'Debug, gcc' }}
137137

138+
- name: Build-and-install-package
139+
shell: bash
140+
working-directory: ${{ github.workspace }}
141+
run: |
142+
pip install apkg
143+
apkg system-setup
144+
apkg build
145+
apkg install
146+
if: ${{ matrix.config.name == 'DEB Package' }}
147+
138148
- name: Configure
139149
shell: bash
140150
working-directory: ${{ github.workspace }}
@@ -151,11 +161,13 @@ jobs:
151161
export LC_ALL=C.UTF-8
152162
export PATH=/snap/bin:${{ github.workspace }}/coverity-tools/bin:$PATH
153163
${{ matrix.config.build-cmd }}
164+
if: ${{ matrix.config.name != 'DEB Package' }}
154165

155166
- name: Test
156167
shell: bash
157168
working-directory: ${{ github.workspace }}/build
158169
run: ctest --output-on-failure
170+
if: ${{ matrix.config.name != 'DEB Package' }}
159171

160172
build-windows:
161173
name: ${{ matrix.name }}

0 commit comments

Comments
 (0)