Skip to content

Commit

Permalink
github/ci: adding separate tasks split by os
Browse files Browse the repository at this point in the history
  * apparently GitHub actions don't support multiple "if" statements
  * including separate conditions for linux and macos
  * ::shrug::
  • Loading branch information
jgaeddert committed Jul 13, 2024
1 parent 1bf79b8 commit fd8de61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup environment
- name: Setup environment (macOS)
if: runner.os == 'macos'
run: |
brew update
brew install autoconf automake pybind11 virtualenv
- name: Setup environment (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get install -y --no-install-recommends build-essential pybind11-dev virtualenv
Expand Down

0 comments on commit fd8de61

Please sign in to comment.