Slight lift effect #19
This file contains 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: Native | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: > | |
sudo apt install --no-install-recommends --yes | |
build-essential meson libsdl2-dev libsdl2-image-dev | |
- name: Check out source code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Get version | |
run: echo "VERSION=$(git describe --tags --long --always | sed 's/^v//;s/-/./')" >> $GITHUB_OUTPUT | |
id: version | |
- name: Configure | |
run: meson -Dversion=${{steps.version.outputs.VERSION}} --buildtype release --prefix /usr ./build | |
- name: Build | |
run: ninja -C ./build | |
- name: Install | |
run: DESTDIR=install ninja -C ./build install | |
- name: Check | |
run: ./build/install/usr/bin/pipewalker --version |