diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml new file mode 100644 index 0000000..3f0a8b4 --- /dev/null +++ b/.github/workflows/packaging.yml @@ -0,0 +1,31 @@ +name: packaging + +on: + push: + +jobs: + package: + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + platform: + - { os: 'fedora', dist: '34' } + + env: + OS: ${{ matrix.platform.os }} + DIST: ${{ matrix.platform.dist }} + + steps: + - name: Clone the module + uses: actions/checkout@v2 + + - name: Clone the packpack tool + uses: actions/checkout@v2 + with: + repository: packpack/packpack + path: packpack + + - name: Create packages + run: ./packpack/packpack diff --git a/rpm/prebuild.sh b/rpm/prebuild.sh new file mode 100755 index 0000000..63465ce --- /dev/null +++ b/rpm/prebuild.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +curl -LsSf https://www.tarantool.io/release/2/installer.sh | sudo bash + +cmake .