Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Gervais <[email protected]>
  • Loading branch information
g-maxime committed Dec 16, 2024
1 parent 59a1091 commit 4bfc978
Showing 1 changed file with 20 additions and 39 deletions.
59 changes: 20 additions & 39 deletions .github/workflows/qctools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
git submodule sync --recursive
git -c "http.extraheader=$AUTH_HEADER" \
-c protocol.version=2 \
submodule update --init --force --recursive --depth=1
submodule update --init --force --recursive --remote --depth=1
- name: Install dependencies
run: |
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
git submodule sync --recursive
git -c "http.extraheader=$AUTH_HEADER" \
-c protocol.version=2 \
submodule update --init --force --recursive --depth=1
submodule update --init --force --recursive --remote --depth=1
- name: Install dependencies
run: |
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
git submodule sync --recursive
git -c "http.extraheader=$AUTH_HEADER" \
-c protocol.version=2 \
submodule update --init --force --recursive --depth=1
submodule update --init --force --recursive --remote --depth=1
- name: Install dependencies
run: |
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
- name: Build FFmpeg
run: |
git clone --depth 1 --branch n5.1 https://github.com/FFmpeg/FFmpeg ../ffmpeg
git clone --depth 1 --branch n6.1 https://github.com/FFmpeg/FFmpeg ../ffmpeg
cd ../ffmpeg
./configure --enable-gpl \
--enable-static \
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
git submodule sync --recursive
git -c "http.extraheader=$AUTH_HEADER" \
-c protocol.version=2 \
submodule update --init --force --recursive --depth=1
submodule update --init --force --recursive --remote --depth=1
- name: Install dependencies
run: |
Expand All @@ -256,7 +256,7 @@ jobs:
- name: Build FFmpeg
run: |
git clone --depth 1 --branch n5.1 https://github.com/FFmpeg/FFmpeg ../ffmpeg
git clone --depth 1 --branch n6.1 https://github.com/FFmpeg/FFmpeg ../ffmpeg
cd ../ffmpeg
./configure --enable-gpl \
--enable-static \
Expand Down Expand Up @@ -308,28 +308,18 @@ jobs:
git submodule sync --recursive
git -c "http.extraheader=$AUTH_HEADER" \
-c protocol.version=2 \
submodule update --init --force --recursive --depth=1
submodule update --init --force --recursive --remote --depth=1
- name: Install Python 3.7 version
- name: Install Python 3.x version
uses: actions/setup-python@v1
with:
python-version: '3.7'
python-version: '3'
architecture: 'x64'

- name: Install compiler and FFmpeg dependencies
run: |
sudo apt-get update &&
sudo apt-get install -y ${{ matrix.packages }} \
libunwind-dev \
libavcodec-dev \
libavformat-dev \
libavdevice-dev \
libegl1-mesa-dev \
libglew-dev \
libxv-dev \
libraw1394-dev \
libavc1394-dev \
libiec61883-dev
sudo apt-get install -y ${{ matrix.packages }}
- name: Install Qt 5.15
uses: jurplel/install-qt-action@v3
Expand All @@ -350,7 +340,7 @@ jobs:
- name: Build FFmpeg
run: |
git clone --depth 1 --branch n5.1 https://github.com/FFmpeg/FFmpeg ../ffmpeg
git clone --depth 1 --branch n6.1 https://github.com/FFmpeg/FFmpeg ../ffmpeg
cd ../ffmpeg
./configure --enable-gpl \
--enable-shared \
Expand Down Expand Up @@ -401,27 +391,18 @@ jobs:
git submodule sync --recursive
git -c "http.extraheader=$AUTH_HEADER" \
-c protocol.version=2 \
submodule update --init --force --recursive --depth=1
submodule update --init --force --recursive --remote --depth=1
- name: Install Python 3.7 version
- name: Install Python 3.x version
uses: actions/setup-python@v1
with:
python-version: '3.7'
python-version: '3'
architecture: 'x64'

- name: Install compiler and FFmpeg dependencies
run: |
sudo apt-get update &&
sudo apt-get install -y ${{ matrix.packages }} \
libunwind-dev \
libgstreamer-plugins-base1.0-dev \
libavcodec-dev \
libavformat-dev \
libavdevice-dev \
libegl1-mesa-dev \
libglew-dev \
libxkbcommon-dev \
libxv-dev
sudo apt-get install -y ${{ matrix.packages }}
- name: Install Qt 6
uses: jurplel/install-qt-action@v3
Expand All @@ -443,7 +424,7 @@ jobs:
- name: Build FFmpeg
run: |
git clone --depth 1 --branch n5.1 https://github.com/FFmpeg/FFmpeg ../ffmpeg
git clone --depth 1 --branch n6.1 https://github.com/FFmpeg/FFmpeg ../ffmpeg
cd ../ffmpeg
./configure --enable-gpl \
--enable-shared \
Expand Down Expand Up @@ -486,7 +467,7 @@ jobs:
git submodule sync --recursive
git -c "http.extraheader=$AUTH_HEADER" \
-c protocol.version=2 \
submodule update --init --force --recursive --depth=1
submodule update --init --force --recursive --remote --depth=1
- name: Build and install zlib
shell: cmd
Expand Down Expand Up @@ -567,7 +548,7 @@ jobs:
git submodule sync --recursive
git -c "http.extraheader=$AUTH_HEADER" \
-c protocol.version=2 \
submodule update --init --force --recursive --depth=1
submodule update --init --force --recursive --remote --depth=1
- name: Build and install zlib
shell: cmd
Expand Down Expand Up @@ -647,7 +628,7 @@ jobs:
git submodule sync --recursive
git -c "http.extraheader=$AUTH_HEADER" \
-c protocol.version=2 \
submodule update --init --force --recursive --depth=1
submodule update --init --force --recursive --remote --depth=1
- name: Init vs environment
uses: egor-tensin/vs-shell@v2
Expand Down Expand Up @@ -732,7 +713,7 @@ jobs:
git submodule sync --recursive
git -c "http.extraheader=$AUTH_HEADER" \
-c protocol.version=2 \
submodule update --init --force --recursive --depth=1
submodule update --init --force --recursive --remote --depth=1
- name: Init vs environment
uses: egor-tensin/vs-shell@v2
Expand Down

0 comments on commit 4bfc978

Please sign in to comment.