Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional package path? #198

Open
jdpipe opened this issue Feb 15, 2022 · 1 comment
Open

Additional package path? #198

jdpipe opened this issue Feb 15, 2022 · 1 comment

Comments

@jdpipe
Copy link

jdpipe commented Feb 15, 2022

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
@jeremyd2019
Copy link
Member

I wonder if there would be some way to extend msys2/setup-msys2 to 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 wget first, so it would probably need two separate calls to msys2/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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants