|
| 1 | +name: manual-nightly-ok |
| 2 | + |
| 3 | +on: |
| 4 | + workflow_dispatch: |
| 5 | + inputs: |
| 6 | + release: |
| 7 | + description: 'release' |
| 8 | + required: true |
| 9 | + default: 'nightly' |
| 10 | + |
| 11 | +concurrency: |
| 12 | + group: ${{ github.workflow }}-${{ github.ref }} |
| 13 | + cancel-in-progress: true |
| 14 | + |
| 15 | +env: |
| 16 | + ccache: ccache |
| 17 | + |
| 18 | +jobs: |
| 19 | + manual-nightly: |
| 20 | + runs-on: ubuntu-24.04 |
| 21 | + if: github.repository == 'openframeworks/openFrameworks' && github.ref == 'refs/heads/master' |
| 22 | + strategy: |
| 23 | + matrix: |
| 24 | + cfg: |
| 25 | + - {target: linux64, libs: 64gcc6} |
| 26 | + steps: |
| 27 | + - name: Install libunwind |
| 28 | + run: sudo apt-get install libunwind-dev |
| 29 | + - name: Cache Packages |
| 30 | + uses: awalsh128/cache-apt-pkgs-action@latest |
| 31 | + with: |
| 32 | + packages: aptitude aptitude-common libboost-iostreams1.83.0 libcwidget4 libsigc++-2.0-0v5 libxapian30 fonts-wine{a} libasound2-plugins{a} libcapi20-3t64{a} libosmesa6{a} libpcsclite1{a} libspeexdsp1{a} libwine{a} libxkbregistry0{a} libz-mingw-w64{a} wine{a} wine64 make curl libjack-jackd2-0 libjack-jackd2-dev freeglut3-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libgl1-mesa-dev libglu1-mesa-dev libraw1394-dev libudev-dev libdrm-dev libglew-dev libopenal-dev libsndfile1-dev libfreeimage-dev libcairo2-dev libfreetype6-dev libssl-dev libpulse-dev libusb-1.0-0-dev libgtk2.0-dev libopencv-dev libassimp-dev librtaudio-dev gdb libglfw3-dev liburiparser-dev libcurl4-openssl-dev libpugixml-dev libgconf-2-4 libgtk2.0-0 libpoco-dev libxcursor-dev libxi-dev libxinerama-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav gstreamer1.0-pulseaudio gstreamer1.0-x gstreamer1.0-plugins-bad gstreamer1.0-alsa gstreamer1.0-plugins-base gstreamer1.0-plugins-good |
| 33 | + # libunwind-dev wget2 |
| 34 | + version: 1.0 |
| 35 | + |
| 36 | + - uses: actions/checkout@v4 |
| 37 | + - name: ccache |
| 38 | + uses: hendrikmuhs/[email protected] |
| 39 | + with: |
| 40 | + key: ${{ matrix.cfg.target }} |
| 41 | + - name: update submodules |
| 42 | + run: ./scripts/dev/init_submodules.sh |
| 43 | + - name: Install dependencies |
| 44 | + run: ./scripts/ci/${{matrix.cfg.target}}/install.sh; |
| 45 | + - name: Download libs |
| 46 | + run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}}; |
| 47 | + - name: Create Package |
| 48 | + run: scripts/ci/package_builds.sh ${{ github.event.inputs.release }}; |
| 49 | + id: createpackage |
| 50 | + - name: List output directory |
| 51 | + run: ls -lah out/ |
| 52 | + # - name: Test Artefact zip |
| 53 | + # run: | |
| 54 | + # tar -cjf out/manual-mega_artefact.tar.bz2 -C out $(echo ${{ steps.createpackage.outputs.FILES_OUT }} | tr ' ' '\n' | sed 's|^out/||') |
| 55 | + # - name: Upload binaries as Artefact |
| 56 | + # uses: actions/upload-artifact@v4 |
| 57 | + # with: |
| 58 | + # name: openFrameworks-all-artefact-${{ env.TARGET }}-${{ matrix.bundle }} |
| 59 | + # path: out/manual-mega_artefact.tar.bz2 |
| 60 | + # retention-days: 1 |
| 61 | + - name: Update Release |
| 62 | + uses: IsaacShelton/[email protected] |
| 63 | + if: github.repository == 'openframeworks/openFrameworks' && github.ref == 'refs/heads/master' |
| 64 | + with: |
| 65 | + token: ${{ secrets.GITHUB_TOKEN }} |
| 66 | + tag: ${{ github.event.inputs.release }} |
| 67 | + release: ${{ github.event.inputs.release }} |
| 68 | + prerelease: false |
| 69 | + replace: true |
| 70 | + files: ${{ steps.createpackage.outputs.FILES_OUT }} |
0 commit comments