Skip to content

Commit

Permalink
ci: try to fix ci (#23)
Browse files Browse the repository at this point in the history
* ci: try to fix deprecated workflow

* ci: update ffmpeg version

surely this won't break anything Clueless

* ci: let's try this

* ci: try this

* ci: try different ffmpeg cmake arg

* ci: temporarily disable releases upload

qt 6 version is a bit unstable right now so we wanna keep the qt 5 version available
  • Loading branch information
Ramen2X authored Dec 11, 2024
1 parent cdd0e19 commit 4d143a5
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: windows-latest

env:
FFMPEG_DIR: ffmpeg-n4.4-latest-win64-gpl-shared-4.4
FFMPEG_DIR: ffmpeg-n5.1-latest-win64-gpl-shared-5.1

steps:
- name: Checkout
Expand All @@ -39,12 +39,11 @@ jobs:
run: |
curl -fLOSs https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/$FFMPEG_DIR.zip
7z x $FFMPEG_DIR.zip
echo "$FFMPEG_DIR" >> $GITHUB_PATH
- name: Build
shell: bash
run: |
cmake . -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake . -G Ninja -DCMAKE_BUILD_TYPE=Release -DFFMPEG_ROOT=$FFMPEG_DIR
ninja
- name: Deploy
Expand All @@ -58,20 +57,20 @@ jobs:
windeployqt si-edit.exe libweaver.dll
- name: Upload Build Artifact
uses: actions/upload-artifact@v2.2.1
uses: actions/upload-artifact@v4
with:
path:
deploy

- name: Upload to Releases
shell: bash
if: github.event_name == 'push'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TRAVIS_REPO_SLUG: itsmattkc/siedit
TRAVIS_COMMIT: ${{ github.sha }}
run: |
cd deploy
7z a libweaver.zip *
curl -fLOSs --retry 2 --retry-delay 60 https://github.com/probonopd/uploadtool/raw/master/upload.sh
./upload.sh libweaver.zip
# - name: Upload to Releases
# shell: bash
# if: github.event_name == 'push'
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TRAVIS_REPO_SLUG: isledecomp/siedit
# TRAVIS_COMMIT: ${{ github.sha }}
# run: |
# cd deploy
# 7z a si-edit.zip *
# curl -fLOSs --retry 2 --retry-delay 60 https://github.com/probonopd/uploadtool/raw/master/upload.sh
# ./upload.sh si-edit.zip

0 comments on commit 4d143a5

Please sign in to comment.