Skip to content

Commit

Permalink
Updating CI workflow on Windows to use Natron pacman repo for deps. (#…
Browse files Browse the repository at this point in the history
…936)

- Adding a step to the Windows workflow that downloads and sets up
  the Natron pacman repo.

- Removed dependencies from the "Install Windows system packages"
  that are installed when the mingw-w64-x86_64-natron-build-deps-qt5
  package is installed.
  • Loading branch information
acolwell authored Dec 28, 2023
1 parent 30c14fd commit af267b1
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,18 @@ jobs:
with:
msystem: mingw64
update: true
install: git base-devel mingw-w64-x86_64-cc mingw-w64-x86_64-qt5-base mingw-w64-x86_64-pyside2
mingw-w64-x86_64-shiboken2 mingw-w64-x86_64-python-qtpy mingw-w64-x86_64-ninja
mingw-w64-x86_64-cmake mingw-w64-x86_64-boost mingw-w64-x86_64-cairo mingw-w64-x86_64-expat
mingw-w64-x86_64-wget unzip
install: git mingw-w64-x86_64-wget unzip mingw-w64-x86_64-ninja mingw-w64-x86_64-cmake

- name: Install Natron pacman repository
run: |
mkdir ${GITHUB_WORKSPACE}/natron_pacman_repo
cd ${GITHUB_WORKSPACE}/natron_pacman_repo
wget https://github.com/NatronGitHub/Natron/releases/download/windows-mingw-package-repo/natron_package_repo.zip
unzip natron_package_repo.zip
NATRON_REPO_PATH=`cygpath -u $GITHUB_WORKSPACE`
echo -e "#NATRON_REPO_START\n[natron]\nSigLevel = Optional TrustAll\nServer = file://${NATRON_REPO_PATH}/natron_pacman_repo/\n#NATRON_REPO_END" >> /etc/pacman.conf
pacman -Syl natron
pacman -S --needed --noconfirm mingw-w64-x86_64-natron-build-deps-qt5
- name: Download OpenColorIO-Configs
run: |
Expand Down

0 comments on commit af267b1

Please sign in to comment.