zlib: fetch src from github #58
Workflow file for this run
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: ps5-payload-libs | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.ref }}-${{ github.event_name }} | |
| cancel-in-progress: false | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup | |
| run: | | |
| sudo apt update | |
| sudo apt install cmake pkg-config meson clang-18 lld-18 | |
| sudo apt install build-essential autoconf libtool yasm nasm bison flex | |
| sudo apt install smpq gperf pkgconf libarchive-tools autopoint po4a git curl doxygen | |
| sudo apt install makepkg pacman-package-manager python3-mako python3-glad | |
| - name: Build artifacts | |
| run: bash ci-libs.sh | |
| - name: Package artifacts | |
| run: tar -czf ps5-payload-dev.tar.gz -C / opt/ps5-payload-sdk | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifacts | |
| path: ./ps5-payload-dev.tar.gz | |
| if-no-files-found: error | |
| release: | |
| needs: build | |
| permissions: | |
| contents: write | |
| if: startsWith(github.ref, 'refs/tags/') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifacts | |
| path: . | |
| - name: Create GitHub Release (pre-release) | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: ${{ github.ref_name }} | |
| prerelease: true | |
| files: ps5-payload-dev.tar.gz |