Skip to content

Commit

Permalink
github: Simplify build action
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Dec 18, 2024
1 parent 370f6a4 commit 3470cb5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,8 @@ runs:
shell: bash
run: |
sudo apt-get update -qq
sudo apt-get install -qq ${{ inputs.compiler }}
sudo apt-get install -qq lib${{ inputs.fuse }}-dev
sudo apt-get install -qq python3 python3-pip python3-setuptools pkg-config uuid-runtime
if [ "${{ inputs.os }}" = "ubuntu-22.04" ]; then
sudo pip3 install meson==0.55.1 ninja
else
sudo pip3 install meson==0.55.1 ninja --break-system-packages
fi
sudo apt-get dist-upgrade -qq
sudo apt-get install -qq ${{ inputs.compiler }} lib${{ inputs.fuse }}-dev meson pkg-config uuid-runtime
- name: Compiler version
shell: bash
Expand All @@ -35,5 +29,11 @@ runs:
env:
CC: ${{ inputs.compiler }}
run: |
meson setup -Ddocs=false -Dtests=true -Dinit-script=systemd -Dprefix=/usr -Db_sanitize=address,undefined build/
# Standard build
meson setup build \
-Ddocs=false \
-Dtests=true \
-Dinit-script=systemd \
-Dprefix=/usr \
-Db_sanitize=address,undefined
meson compile -C build

0 comments on commit 3470cb5

Please sign in to comment.