mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-05 17:14:08 +00:00
34 lines
882 B
YAML
34 lines
882 B
YAML
name: Visual Studio Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
yosys-vcxsrc:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
- name: Build
|
|
run: make vcxsrc YOSYS_VER=latest
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: vcxsrc
|
|
path: yosys-win32-vcxsrc-latest.zip
|
|
|
|
build:
|
|
runs-on: windows-2019
|
|
needs: yosys-vcxsrc
|
|
steps:
|
|
- uses: actions/download-artifact@v4
|
|
with:
|
|
name: vcxsrc
|
|
path: .
|
|
- name: unzip
|
|
run: unzip yosys-win32-vcxsrc-latest.zip
|
|
- name: setup-msbuild
|
|
uses: microsoft/setup-msbuild@v1
|
|
- name: MSBuild
|
|
working-directory: yosys-win32-vcxsrc-latest
|
|
run: msbuild YosysVS.sln /p:PlatformToolset=v142 /p:Configuration=Release /p:WindowsTargetPlatformVersion=10.0.17763.0
|