Skip to content

Commit

Permalink
actions BUGFIX package build pwd
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Mar 18, 2024
1 parent cbb3061 commit d69f738
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
packager: "sudo apt-get",
packages: "python3-pip",
snaps: "",
build-cmd: "pip install apkg && apkg system-setup && apkg build && apkg install"
build-cmd: ""
}

steps:
Expand Down Expand Up @@ -135,6 +135,16 @@ jobs:
sudo make install
if: ${{ matrix.config.name == 'Debug, gcc' }}

- name: Build-and-install-package
shell: bash
working-directory: ${{ github.workspace }}
run: |
pip install apkg
apkg system-setup
apkg build
apkg install
if: ${{ matrix.config.name == 'DEB Package' }}

- name: Configure
shell: bash
working-directory: ${{ github.workspace }}
Expand All @@ -151,11 +161,13 @@ jobs:
export LC_ALL=C.UTF-8
export PATH=/snap/bin:${{ github.workspace }}/coverity-tools/bin:$PATH
${{ matrix.config.build-cmd }}
if: ${{ matrix.config.name != 'DEB Package' }}

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

build-windows:
name: ${{ matrix.name }}
Expand Down

0 comments on commit d69f738

Please sign in to comment.