mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-15 09:18:33 +00:00
ci: install setup tools
This commit is contained in:
parent
6cc8790055
commit
a4dc07112c
1 changed files with 22 additions and 3 deletions
25
.github/workflows/main.yml
vendored
25
.github/workflows/main.yml
vendored
|
@ -12,13 +12,32 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [windows-latest, ubuntu-latest, macOS-latest]
|
os: [windows-latest, ubuntu-latest]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: install conan
|
- uses: actions/setup-python@v1
|
||||||
run: pip3 install conan
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
|
||||||
|
- name: Install tools (Linux)
|
||||||
|
if: startsWith(runner.os, 'Linux')
|
||||||
|
run: |
|
||||||
|
sudo apt-get install python3-setuptools python3-wheel python3-pip
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: Install conan (Linux)
|
||||||
|
if: startsWith(runner.os, 'Linux')
|
||||||
|
run: |
|
||||||
|
sudo pip3 install conan --upgrade
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: Install conan (Windows)
|
||||||
|
if: startsWith(runner.os, 'Windows')
|
||||||
|
run: |
|
||||||
|
pip3 install conan --upgrade
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- name: Create Build Environment
|
- name: Create Build Environment
|
||||||
run: cmake -E make_directory ${{runner.workspace}}/build
|
run: cmake -E make_directory ${{runner.workspace}}/build
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue