Additional package path?
I have some additional packages that I need to test that aren't yet in the MINGW-packages repository (although hopefully they will be eventually). Basically, I have a local 'file://' repository that I add to my /etc/pacman.conf file, and then install. See below from my workflow file msys2.yml.
I wonder if there would be some way to extend msys2/setup-msys2 to include support for adding extra entries in /etc/pacman.conf?
Note that if we had that, I would still need to install wget first, so it would probably need two separate calls to msys2/setup-msys2, perhaps it all gets too complicated. Thoughts...?
- name: Install OpenModelica
run: |
cd ~
wget -qO- "https://cloudstor.aarnet.edu.au/plus/s/VBZETOzDPK51Ywr/download" | bsdtar -xvf-
cd omc-repo
echo -e "[openmodelica]\nSigLevel=Never\nServer=file://$PWD" >> /etc/pacman.conf
pacman -Sy --noconfirm mingw-w64-x86_64-omc mingw-w64-x86_64-openmodelica-msl
echo "REVIEW INSTALLED OMC VERSION..."
omc --version
I wonder if there would be some way to extend
msys2/setup-msys2to include support for adding extra entries in/etc/pacman.conf?
I just came to suggest this, though I don't know how it would work in practice.
Note that if we had that, I would still need to install
wgetfirst, so it would probably need two separate calls tomsys2/setup-msys2, perhaps it all gets too complicated. Thoughts...?
You could use curl, which ships as part of Windows now, via cmd or powershell before setup-msys2. also the version of bsdtar that comes with Windows (as tar.exe) to extract after downloading.