Skip to content

Commit

Permalink
[ci skip] update vcpkg.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan130200 committed May 7, 2024
1 parent 36e86ec commit 14bc7a5
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions .github/workflows/vcpkg.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,26 @@
name: "VCPKG (libexpat)"

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: '19 23 * * 5'
on: workflow_dispatch

jobs:
buildme:
runs-on: ${{ matrix.config.os }}
strategy:
matrix:
config:

- os: ubuntu-20.04
vcpkg_triplet: x64-linux-release
- os: ubuntu-20.04
vcpkg_triplet: x86-linux-release
- os: macos-11
vcpkg_triplet: x64-osx-release
vcpkg_triplet: x64-linux-dynamic

- os: macos-11
vcpkg_triplet: x86-osx-release
vcpkg_triplet: x64-osx-dynamic

- os: windows-2019
vcpkg_triplet: x64-windows-release
- os: windows-2019
vcpkg_triplet: x86-windows-release

- os: windows-latest
vcpkg_triplet: x64-windows-release

steps:
- name: vcpkg build
uses: johnwason/vcpkg-action@v6
Expand All @@ -36,4 +31,12 @@ jobs:
cache-key: ${{ matrix.config.os }}
revision: master
token: ${{ github.token }}
github-binarycache: true
github-binarycache: true

- name: upload artifacts
uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.config.vcpkg_triplet }}-${{ matrix.config.os }}
path: ${{ github.workspace }}/vcpkg/installed/${{ matrix.config.vcpkg_triplet }}
if-no-files-found: warn
overwrite: true

0 comments on commit 14bc7a5

Please sign in to comment.