Skip to content

Changed vcpkg job

Changed vcpkg job #6

Workflow file for this run

name: Build and store wheels
on: [push, pull_request]
jobs:
buildme:
runs-on: ${{ matrix.config.os }}
strategy:
matrix:
config:
- os: ubuntu-20.04
vcpkg_triplet: x64-linux-release
- os: macos-11
vcpkg_triplet: x64-osx-release
- os: windows-2019
vcpkg_triplet: x64-windows-release
steps:
- name: vcpkg build
uses: johnwason/vcpkg-action@v6
id: vcpkg
with:
pkgs: boost-date-time
triplet: ${{ matrix.config.vcpkg_triplet }}
cache-key: ${{ matrix.config.os }}
revision: master
token: ${{ github.token }}
github-binarycache: true
jobs:

Check failure on line 29 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 29
build:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-14, macos-15]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install vcpkg
uses: johnwason/vcpkg-action@v6
with:
token: ${{ github.token }}
cache-key: ${{ matrix.config.os }}
github-binarycache: true
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.21.2
- name: Build wheels
run: python -m cibuildwheel --output-dir dist
- name: Store wheels
uses: actions/upload-artifact@v4
with:
name: distributions
path: ./dist/*.whl
publish:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/')
needs:
- build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://test.pypi.org/p/mini-face-oxidized
permissions:
id-token: write
steps:
- name: Download all the wheels
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1