Add option to write jpeg to dir. Use vector instead of dynamic array #136
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: Create packages | |
| on: | |
| push: | |
| branches: [ master, ai_server ] | |
| permissions: | |
| contents: read # to fetch code (actions/checkout) | |
| jobs: | |
| package: | |
| strategy: | |
| matrix: | |
| os_dist: | |
| - os: ubuntu | |
| dist: jammy | |
| arch: x86_64 | |
| - os: ubuntu | |
| dist: noble | |
| arch: x86_64 | |
| - os: ubuntu | |
| dist: noble | |
| arch: aarch64 | |
| - os: ubuntu | |
| dist: jammy | |
| arch: aarch64 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: '0' | |
| submodules: recursive | |
| - if: matrix.os_dist.arch == 'aarch64' | |
| name: Set up QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| with: | |
| platforms: arm64 | |
| - name: Run packpack | |
| env: | |
| SMPFLAGS: -j4 | |
| OS: ${{ matrix.os_dist.os }} | |
| DIST: ${{ matrix.os_dist.dist }} | |
| ARCH: ${{ matrix.os_dist.arch }} | |
| DOCKER_REPO: packpack/packpack | |
| run: utils/packpack/startpackpack.sh | |
| - name: Publish | |
| uses: easingthemes/ssh-deploy@main | |
| env: | |
| SSH_PRIVATE_KEY: ${{ secrets.ZMREPO_SSH_KEY }} | |
| ARGS: "-rltgoDzvO" | |
| SOURCE: build/ | |
| REMOTE_HOST: ${{ secrets.ZMREPO_HOST }} | |
| REMOTE_USER: ${{ secrets.ZMREPO_SSH_USER }} | |
| TARGET: debian/ampere/mini-dinstall/incoming/ |