build: update Makefile to build pyzstd #1024
Workflow file for this run
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: make | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: | | |
sudo apt-get install meson shellcheck scdoc python3-hatchling python3-build python3-installer python3-filelock cargo | |
- name: Initialize submodules | |
run: | | |
git submodule update --init --recursive | |
- name: Lint using Shellcheck | |
run: | | |
shellcheck configure.sh | |
- name: Make system package | |
run: | | |
./configure.sh --prefix=/usr | |
make DESTDIR=dist install | |
- name: Make release | |
run: | | |
# TODO: Figure out release without requiring root | |
sudo make release | |
- name: Make user install | |
run: | | |
./configure.sh --user-install | |
# TODO: Figure out user install without requiring root | |
sudo make install |