Skip to content

Commit da68e8d

Browse files
committed
Actions Linux 22.04 Enabled
1 parent 9646831 commit da68e8d

File tree

1 file changed

+46
-46
lines changed

1 file changed

+46
-46
lines changed

.github/workflows/of.yml

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,11 @@ jobs:
347347
sudo apt-get remove libunwind-14 -y;
348348
fi
349349

350-
# - name: Cache Packages
351-
# uses: awalsh128/cache-apt-pkgs-action@latest
352-
# with:
353-
# 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 wget2 make 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 libpulse-dev libusb-1.0-0-dev libgtk2.0-dev libopencv-dev libassimp-dev librtaudio-dev gdb libglfw3-dev liburiparser-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
354-
# version: 1.0
350+
- name: Cache Packages
351+
uses: awalsh128/cache-apt-pkgs-action@latest
352+
with:
353+
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 wget2 make 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 libpulse-dev libusb-1.0-0-dev libgtk2.0-dev libopencv-dev libassimp-dev librtaudio-dev gdb libglfw3-dev liburiparser-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
354+
version: 1.0
355355

356356
- uses: actions/[email protected]
357357
- name: ccache
@@ -374,47 +374,47 @@ jobs:
374374
scripts/ci/$TARGET/$ARCH/build.sh;
375375
fi
376376
377-
# build-linux-64-22-04:
378-
# runs-on: ubuntu-22.04
379-
# strategy:
380-
# matrix:
381-
# cfg:
382-
# - {target: linux, arch: 64, gcc: 10}
383-
# env:
384-
# TARGET: ${{matrix.cfg.target}}
385-
# GCC: ${{matrix.cfg.gcc}}
386-
# ARCH: ${{matrix.cfg.arch}}
387-
# steps:
388-
# - name: Remove Old lib-unwind
389-
# run: if [ "$TARGET" = "linux" ]; then
390-
# sudo apt-get remove libunwind-14 -y;
391-
# fi
392-
# # - name: Cache Packages
393-
# # uses: awalsh128/cache-apt-pkgs-action@latest
394-
# # with:
395-
# # 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 wget2 make 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 libpulse-dev libusb-1.0-0-dev libgtk2.0-dev libopencv-dev libassimp-dev librtaudio-dev gdb libglfw3-dev liburiparser-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
396-
# # version: 1.0
397-
398-
# - uses: actions/[email protected]
399-
# # - name: ccache
400-
# # uses: hendrikmuhs/[email protected]
401-
# # with:
402-
# # key: ${{ matrix.cfg.target }}-22-04
403-
404-
# - name: Install dependencies
405-
# run: ./scripts/ci/$TARGET/$ARCH/install.sh;
406-
407-
# - name: Download libs
408-
# run: ./scripts/linux/download_libs.sh -t $RELEASE -a ${{matrix.cfg.arch}} -g ${{matrix.cfg.GCC}}
409-
410-
# - name: Build
411-
# run: |
412-
# if [ "$TARGET" = "linux" ]; then
413-
# scripts/ci/$TARGET/$ARCH/build.sh;
414-
# scripts/ci/$TARGET/$ARCH/run_tests.sh;
415-
# else
416-
# scripts/ci/$TARGET/$ARCH/build.sh;
417-
# fi
377+
build-linux-64-22-04:
378+
runs-on: ubuntu-22.04
379+
strategy:
380+
matrix:
381+
cfg:
382+
- {target: linux, arch: 64, gcc: 10}
383+
env:
384+
TARGET: ${{matrix.cfg.target}}
385+
GCC: ${{matrix.cfg.gcc}}
386+
ARCH: ${{matrix.cfg.arch}}
387+
steps:
388+
- name: Remove Old lib-unwind
389+
run: if [ "$TARGET" = "linux" ]; then
390+
sudo apt-get remove libunwind-14 -y;
391+
fi
392+
# - name: Cache Packages
393+
# uses: awalsh128/cache-apt-pkgs-action@latest
394+
# with:
395+
# 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 wget2 make 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 libpulse-dev libusb-1.0-0-dev libgtk2.0-dev libopencv-dev libassimp-dev librtaudio-dev gdb libglfw3-dev liburiparser-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
396+
# version: 1.0
397+
398+
# - uses: actions/[email protected]
399+
# - name: ccache
400+
# uses: hendrikmuhs/[email protected]
401+
# with:
402+
# key: ${{ matrix.cfg.target }}-22-04
403+
404+
- name: Install dependencies
405+
run: ./scripts/ci/$TARGET/$ARCH/install.sh;
406+
407+
- name: Download libs
408+
run: ./scripts/linux/download_libs.sh -t $RELEASE -a ${{matrix.cfg.arch}} -g ${{matrix.cfg.GCC}}
409+
410+
- name: Build
411+
run: |
412+
if [ "$TARGET" = "linux" ]; then
413+
scripts/ci/$TARGET/$ARCH/build.sh;
414+
scripts/ci/$TARGET/$ARCH/run_tests.sh;
415+
else
416+
scripts/ci/$TARGET/$ARCH/build.sh;
417+
fi
418418
419419
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
420420

0 commit comments

Comments
 (0)