From ed3e55b6e8f9c9da11c67394ffefd1b710f14cc5 Mon Sep 17 00:00:00 2001 From: louis <35883445+louist103@users.noreply.github.com> Date: Sat, 7 Dec 2024 00:02:58 -0500 Subject: [PATCH] fix yml --- .github/workflows/main.yml | 44 +++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62f80f5..b83953d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,18 +15,16 @@ jobs: - name: Install dependencies run: | sudo apt update - sudo apt install -y libsdl2-dev libzip-dev libogg-dev libvorbis-dev libopus-dev libopusfile-dev opus-tools libtinyxml2-dev zipcmp zipmerge ziptool - - name: Checkout libopusenc - uses: actions/checkout@v3 - - name: Build libopusenc from source - run: | - git clone https://gitlab.xiph.org/xiph/libopusenc.git - cd libopusenc - ./autogen.sh - ./configure - make -j 10 - sudo make install - sudo ldconfig + sudo apt install -y libsdl2-dev libzip-dev libogg-dev libvorbis-dev libopus-dev libopusfile-dev libopusenc-dev opus-tools libtinyxml2-dev zipcmp zipmerge ziptool + - name: Build libopusenc + run: | + git clone https://gitlab.xiph.org/xiph/libopusenc.git + cd libopusenc + ./autogen.sh + ./configure + make -j 10 + sudo make install + sudo ldconfig - name: Build run: | cmake -S. -Bbuild-rel -DCMAKE_BUILD_TYPE:STRING=Release @@ -49,18 +47,16 @@ jobs: - name: Install dependencies run: | sudo apt update - sudo apt install -y libsdl2-dev libzip-dev libogg-dev libvorbis-dev libopus-dev libopusfile-dev opus-tools libtinyxml2-dev zipcmp zipmerge ziptool - - name: Checkout libopusenc - uses: actions/checkout@v3 - - name: Build libopusenc from source - run: | - git clone https://gitlab.xiph.org/xiph/libopusenc.git - cd libopusenc - ./autogen.sh - ./configure - make -j 10 - sudo make install - sudo ldconfig + sudo apt install -y libsdl2-dev libzip-dev libogg-dev libvorbis-dev libopus-dev libopusfile-dev libopusenc-dev opus-tools libtinyxml2-dev zipcmp zipmerge ziptool + - name: Build libopusenc + run: | + git clone https://gitlab.xiph.org/xiph/libopusenc.git + cd libopusenc + ./autogen.sh + ./configure + make -j 10 + sudo make install + sudo ldconfig - name: Build run: | cmake -S. -Bbuild-rel -DCMAKE_BUILD_TYPE:STRING=Release