|
1 |
| -name: manual-nightly |
| 1 | +# This one was created to make it work whil |
2 | 2 |
|
3 |
| -on: |
| 3 | +name: manual-nightly-ok |
| 4 | + |
| 5 | +on: |
4 | 6 | workflow_dispatch:
|
5 | 7 | inputs:
|
6 |
| - release: |
7 |
| - description: 'release' |
8 |
| - required: true |
9 |
| - default: 'nightly' |
10 |
| -# on: |
11 |
| -# push: |
12 |
| -# paths-ignore: |
13 |
| -# - '**/README.md' |
14 |
| -# pull_request: |
15 |
| -# paths-ignore: |
16 |
| -# - '**/README.md' |
| 8 | + release: |
| 9 | + description: "release" |
| 10 | + required: true |
| 11 | + default: "latest" |
17 | 12 |
|
18 | 13 | concurrency:
|
19 | 14 | group: ${{ github.workflow }}-${{ github.ref }}
|
20 | 15 | cancel-in-progress: true
|
21 | 16 |
|
22 | 17 | env:
|
23 | 18 | ccache: ccache
|
| 19 | + RELEASE: ${{ github.event.inputs.release }} |
24 | 20 |
|
25 | 21 | jobs:
|
26 | 22 | manual-nightly:
|
27 | 23 | runs-on: ubuntu-24.04
|
28 | 24 | if: github.repository == 'openframeworks/openFrameworks' && github.ref == 'refs/heads/master'
|
29 | 25 | strategy:
|
30 |
| - matrix: |
31 |
| - cfg: |
32 |
| - - {target: linux64, libs: 64gcc6} |
| 26 | + matrix: |
| 27 | + cfg: |
| 28 | + - { target: linux64, libs: 64gcc6 } |
33 | 29 | steps:
|
34 |
| - - name: Install libunwind |
35 |
| - run: sudo apt-get install libunwind-dev |
36 |
| - - name: Cache Packages |
37 |
| - uses: awalsh128/cache-apt-pkgs-action@latest |
38 |
| - with: |
39 |
| - 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 |
40 |
| - # libunwind-dev wget2 |
41 |
| - version: 1.0 |
| 30 | + - name: Install libunwind |
| 31 | + run: sudo apt-get install libunwind-dev |
| 32 | + - name: Cache Packages |
| 33 | + uses: awalsh128/cache-apt-pkgs-action@latest |
| 34 | + with: |
| 35 | + 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 |
| 36 | + # libunwind-dev wget2 |
| 37 | + version: 1.0 |
42 | 38 |
|
43 |
| - - uses: actions/checkout@v4 |
44 |
| - - name: ccache |
45 |
| - uses: hendrikmuhs/ccache-action@v1.2.14 |
46 |
| - with: |
47 |
| - key: ${{ matrix.cfg.target }} |
48 |
| - - name: update submodules |
49 |
| - run: ./scripts/dev/init_submodules.sh |
50 |
| - - name: Install dependencies |
51 |
| - run: ./scripts/ci/${{matrix.cfg.target}}/install.sh; |
52 |
| - - name: Download libs |
53 |
| - run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}}; |
54 |
| - - name: Create Package |
55 |
| - run: scripts/ci/package_builds.sh ${{ github.event.inputs.release }}; |
56 |
| - id: createpackage |
57 |
| - - name: List output directory |
58 |
| - run: ls -lah out/ |
59 |
| - # - name: Test Artefact zip |
60 |
| - # run: | |
61 |
| - # tar -cjf out/manual-mega_artefact.tar.bz2 -C out $(echo ${{ steps.createpackage.outputs.FILES_OUT }} | tr ' ' '\n' | sed 's|^out/||') |
62 |
| - # - name: Upload binaries as Artefact |
63 |
| - # uses: actions/upload-artifact@v4 |
64 |
| - # with: |
65 |
| - # name: openFrameworks-all-artefact-${{ env.TARGET }}-${{ matrix.bundle }} |
66 |
| - # path: out/manual-mega_artefact.tar.bz2 |
67 |
| - # retention-days: 1 |
68 |
| - - name: Update Release |
69 |
| - uses: IsaacShelton/update-existing-release@v1.3.4 |
70 |
| - if: github.repository == 'openframeworks/openFrameworks' && github.ref == 'refs/heads/master' |
71 |
| - with: |
72 |
| - token: ${{ secrets.GITHUB_TOKEN }} |
73 |
| - tag: ${{ github.event.inputs.release }} |
74 |
| - release: ${{ github.event.inputs.release }} |
75 |
| - prerelease: false |
76 |
| - replace: true |
77 |
| - files: ${{ steps.createpackage.outputs.FILES_OUT }} |
| 39 | + - uses: actions/checkout@v4 |
| 40 | + - name: ccache |
| 41 | + uses: hendrikmuhs/ccache-action@v1.2.14 |
| 42 | + with: |
| 43 | + key: ${{ matrix.cfg.target }} |
| 44 | + - name: update submodules |
| 45 | + run: ./scripts/dev/init_submodules.sh |
| 46 | + - name: Install dependencies |
| 47 | + run: ./scripts/ci/${{matrix.cfg.target}}/install.sh; |
| 48 | + - name: Download libs |
| 49 | + run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}}; |
| 50 | + - name: Create Package |
| 51 | + run: scripts/ci/package_builds.sh ${{ github.event.inputs.release }}; |
| 52 | + id: createpackage |
| 53 | + - name: List output directory |
| 54 | + run: ls -lah out/ |
| 55 | + # - name: Test Artefact zip |
| 56 | + # run: | |
| 57 | + # tar -cjf out/manual-mega_artefact.tar.bz2 -C out $(echo ${{ steps.createpackage.outputs.FILES_OUT }} | tr ' ' '\n' | sed 's|^out/||') |
| 58 | + # - name: Upload binaries as Artefact |
| 59 | + # uses: actions/upload-artifact@v4 |
| 60 | + # with: |
| 61 | + # name: openFrameworks-all-artefact-${{ env.TARGET }}-${{ matrix.bundle }} |
| 62 | + # path: out/manual-mega_artefact.tar.bz2 |
| 63 | + # retention-days: 1 |
| 64 | + - name: Update Release |
| 65 | + uses: IsaacShelton/update-existing-release@v1.3.4 |
| 66 | + if: github.repository == 'openframeworks/openFrameworks' && github.ref == 'refs/heads/master' |
| 67 | + with: |
| 68 | + token: ${{ secrets.GITHUB_TOKEN }} |
| 69 | + tag: ${{ github.event.inputs.release }} |
| 70 | + # release: ${{ github.event.inputs.release }} |
| 71 | + release: nightly |
| 72 | + prerelease: false |
| 73 | + replace: true |
| 74 | + files: ${{ steps.createpackage.outputs.FILES_OUT }} |
0 commit comments