build: make rule to generate standalone python zipapp application #464
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 | |
- name: Install dependencies | |
run: | | |
sudo apt-get install meson shellcheck scdoc python3-hatchling python3-build python3-installer python3-filelock | |
- 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 | |
sudo make PREFIX=/usr install | |
- name: Make release | |
run: | | |
make release | |
- name: Make user install | |
run: | | |
./configure.sh --user-install | |
# TODO: Figure out user install without requiring root | |
sudo make install |