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 aa4889b
Showing 1 changed file with 14 additions and 50 deletions.
64 changes: 14 additions & 50 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 @@ -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 Down Expand Up @@ -308,12 +308,12 @@ 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
Expand Down Expand Up @@ -348,24 +348,6 @@ jobs:
qmake -r
make -j4
- name: Build FFmpeg
run: |
git clone --depth 1 --branch n5.1 https://github.com/FFmpeg/FFmpeg ../ffmpeg
cd ../ffmpeg
./configure --enable-gpl \
--enable-shared \
--disable-static \
--disable-autodetect \
--disable-securetransport \
--disable-videotoolbox \
--disable-doc \
--disable-ffplay \
--disable-ffprobe \
--disable-debug \
--disable-x86asm
make -j12
- name: Build QCTools
run: |
cd Project/QtCreator
Expand Down Expand Up @@ -401,12 +383,12 @@ 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
Expand Down Expand Up @@ -441,24 +423,6 @@ jobs:
qmake -r
make -j4
- name: Build FFmpeg
run: |
git clone --depth 1 --branch n5.1 https://github.com/FFmpeg/FFmpeg ../ffmpeg
cd ../ffmpeg
./configure --enable-gpl \
--enable-shared \
--disable-static \
--disable-autodetect \
--disable-securetransport \
--disable-videotoolbox \
--disable-doc \
--disable-ffplay \
--disable-ffprobe \
--disable-debug \
--disable-x86asm
make -j12
- name: Build QCTools
run: |
cd Project/QtCreator
Expand Down Expand Up @@ -486,7 +450,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 +531,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 +611,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 +696,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 aa4889b

Please sign in to comment.