Skip to content

Commit

Permalink
Try pip with actions/setup-python@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
chris2511 committed Apr 26, 2024
1 parent bb32e30 commit 00e8d30
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/cmake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- os: macos
generator: Unix Makefiles
openssl_root: /usr/local/opt/openssl@1.1
openssl_root: /opt/homebrew/opt/openssl
artifact: build/xca-*.dmg
host: mac
runs: macos-latest
Expand All @@ -45,14 +45,22 @@ jobs:
exclude:
- os: windows
qt: "6.6.2"
#winarch: win64_mingw
#runs: windows-latest

- os: macos
qt: "5.15.2"

runs-on: ${{matrix.runs}}

steps:
- name: Install Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"

- name: Install Sphinx
run: pip3 install sphinx
run: |
python -m pip install --upgrade pip
pip install sphinx
- name: Install Qt
uses: jurplel/install-qt-action@v3
Expand Down Expand Up @@ -80,7 +88,7 @@ jobs:
- name: Configure
# No YAML Multiline mechanism (>, |, \, >-, >+2 whatever) works as expected
# Give up. Live with the long line
run: cmake -B ${{github.workspace}}/build -G "${{matrix.generator}}" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DOPENSSL_ROOT_DIR=${{matrix.openssl_root}} --warn-uninitialized -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_OSX_DEPLOYMENT_TARGET="10.15"
run: cmake -B ${{github.workspace}}/build -G "${{matrix.generator}}" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DOPENSSL_ROOT_DIR=${{matrix.openssl_root}} --warn-uninitialized -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_OSX_DEPLOYMENT_TARGET="10.15"

- name: Build
run: cmake --build ${{github.workspace}}/build -j 5 -v
Expand Down

0 comments on commit 00e8d30

Please sign in to comment.