Skip to content

Commit

Permalink
Refactor CI workflow to set up Python 3.11 and install libssl-dev for…
Browse files Browse the repository at this point in the history
… Perl dependencies
  • Loading branch information
carlos-rian-qd committed Oct 15, 2024
1 parent 3d3aca2 commit b023051
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: set up python
uses: actions/setup-python@v5
with:
python-version: "3.11"
architecture: 'x64'

- run: pip install -U toml httpx

- name: production - check package version
Expand Down Expand Up @@ -161,13 +167,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Perl (Ubuntu only)
- name: Set up Perl and install IPC::Cmd (Ubuntu only)
if: matrix.os == 'ubuntu'
run: sudo apt-get install -y perl libssl-dev

- name: Install IPC::Cmd (Ubuntu only)
if: matrix.os == 'ubuntu'
run: sudo cpan IPC::Cmd
run: |
sudo apt-get update
sudo apt-get install -y perl libssl-dev pkg-config
sudo cpan IPC::Cmd
- name: set up python
uses: actions/setup-python@v5
Expand Down Expand Up @@ -248,13 +253,12 @@ jobs:
python-version: ${{ matrix.interpreter }}
allow-prereleases: true

- name: Set up Perl (Ubuntu only)
- name: Set up Perl and install IPC::Cmd (Ubuntu only)
if: matrix.os == 'ubuntu'
run: sudo apt-get install -y perl libssl-dev

- name: Install IPC::Cmd (Ubuntu only)
if: matrix.os == 'ubuntu'
run: sudo cpan IPC::Cmd
run: |
sudo apt-get update
sudo apt-get install -y perl libssl-dev pkg-config
sudo cpan IPC::Cmd
- name: install rust stable
id: rust-toolchain
Expand Down

0 comments on commit b023051

Please sign in to comment.