This file contains hidden or 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: Build Rucio Clients Tarball | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y make gcc zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev libssl-dev tk-dev libffi-dev liblzma-dev uuid-dev libgdbm-dev libnsl-dev git curl | |
| - name: Install pyenv | |
| run: | | |
| curl https://pyenv.run | bash | |
| export PYENV_ROOT="$HOME/.pyenv" | |
| export PATH="$PYENV_ROOT/bin:$PATH" | |
| eval "$(pyenv init --path)" | |
| eval "$(pyenv init - bash)" | |
| eval "$(pyenv virtualenv-init -)" | |
| pyenv install 3.11.8 | |
| pyenv global 3.11.8ß | |
| - name: Make build script executable | |
| run: chmod +x rucio/make_tarball.sh | |
| - name: Run build script | |
| run: ./rucio/make_tarball.sh | |
| - name: Upload tarball artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: rucio-clients | |
| path: rucio-clients-*.tar.gz | |