diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml new file mode 100644 index 000000000..e6d733caa --- /dev/null +++ b/.github/workflows/make.yml @@ -0,0 +1,30 @@ +name: Make workflow + +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 + - 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