Skip to content

Commit

Permalink
Install hg from OS sources
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota authored Oct 7, 2024
1 parent aa35bdc commit c00c521
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,35 +28,25 @@ jobs:
git config --global column.ui always
git config --global core.autocrlf false
- name: Install Python
uses: actions/setup-python@v5

- name: Upgrade pip
run: python -m pip install --upgrade pip

- name: Install Mercurial
run: pip install mercurial
if: ${{ matrix.os != 'windows-2022' }}

- name: Install Crystal
uses: oprypin/install-crystal@v1
with:
crystal: ${{ matrix.crystal }}

- name: Install Fossil
- name: Install Fossil and Mercurial
if: ${{ runner.os == 'Linux' }}
run: |
sudo apt-get update
sudo apt-get install fossil
sudo apt-get install fossil hg
- name: Install Fossil
if: ${{ matrix.os == 'macos-12' }}
- name: Install Fossil and Mercurial
if: ${{ runner.os == 'macOS' }}
run: |
brew update
brew install fossil
brew install fossil hg
- name: Install Fossil and Mercurial
if: ${{ matrix.os == 'windows-2022' }}
if: ${{ runner.os == 'Windows' }}
run: choco install fossil hg

- name: Download source
Expand Down

0 comments on commit c00c521

Please sign in to comment.