Skip to content

Remove obsolete references to vapoursynth_filter_32.ax #324

Remove obsolete references to vapoursynth_filter_32.ax

Remove obsolete references to vapoursynth_filter_32.ax #324

Workflow file for this run

name: CI
on:
push:
branches:
- master
- test
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
prepare:
runs-on: windows-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- id: set-matrix
run: |
$matrixItems = New-Object System.Collections.ArrayList
$matrixItems.Add(@{
configuration = 'Debug'
platform = 'x64'
'output-dir' = 'x64'
})
$matrixItems.Add(@{
configuration = 'Debug'
platform = 'x86'
'output-dir' = 'Win32'
})
if ($env:GITHUB_REF -like 'refs/heads/master*') {
$matrixItems.Add(@{
configuration = 'Release'
platform = 'x64'
'output-dir' = 'x64'
})
$matrixItems.Add(@{
configuration = 'Release'
platform = 'x86'
'output-dir' = 'Win32'
})
}
Set-Content -Path $env:GITHUB_OUTPUT -Value "matrix=$(@{ include = $matrixItems } | ConvertTo-Json -Compress)"
build:
name: ${{ matrix.configuration }} ${{ matrix.platform }}
runs-on: windows-latest
needs: prepare
strategy:
matrix: ${{ fromJSON(needs.prepare.outputs.matrix) }}
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: pwsh -File build.ps1 -configuration ${{ matrix.configuration }} -platform ${{ matrix.platform }}
- name: Archive build artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.configuration }} ${{ matrix.platform }}
path: |
${{ matrix.output-dir }}/${{ matrix.configuration }}/*.ax
${{ matrix.output-dir }}/${{ matrix.configuration }}/*.pdb
if-no-files-found: error