Skip to content

Commit

Permalink
update GH action workflows to install libmagic on linux
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
jqnatividad committed May 8, 2023
1 parent 697283d commit e009db1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ jobs:
with:
submodules: recursive
ref: ${{ needs.analyze-tags.outputs.previous-tag }}
- name: Install libmagic on linux
if: ${{ matrix.job.os-name == 'linux' }}
run: |
sudo apt-get install libmagic1 libmagic-dev
- name: build prep for x86_64-unknown-linux-musl
if: ${{ matrix.job.musl-prep }}
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ jobs:
with:
submodules: recursive
ref: ${{ needs.analyze-tags.outputs.previous-tag }}
- name: Install libmagic on linux
if: ${{ matrix.job.os-name == 'linux' }}
run: |
sudo apt-get install libmagic1 libmagic-dev
- name: build prep for x86_64-unknown-linux-musl
if: ${{ matrix.job.musl-prep }}
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rust-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
- uses: actions/[email protected]
with:
python-version: '3.11'
- name: Install libmagic
run: |
sudo apt-get install libmagic1 libmagic-dev
- name: Update Rust Beta
run: |
rustup update beta
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- uses: actions/[email protected]
with:
python-version: '3.11'
- name: Install libmagic
run: |
sudo apt-get install libmagic1 libmagic-dev
- name: Install and Run Redis
run: |
sudo apt-get install redis-server
Expand Down

0 comments on commit e009db1

Please sign in to comment.