diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2021-05-17 10:24:30 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2021-05-17 10:24:30 +0200 |
commit | d8c5d6815cc80af852ce0969e4cf775f44539c80 (patch) | |
tree | c68cea0f7d98a3b4d7ed44b9475f9956ea314e6c | |
parent | 34a08750fa1a490be09411b07f64f4236eff234e (diff) | |
download | yosys-d8c5d6815cc80af852ce0969e4cf775f44539c80.tar.gz yosys-d8c5d6815cc80af852ce0969e4cf775f44539c80.tar.bz2 yosys-d8c5d6815cc80af852ce0969e4cf775f44539c80.zip |
Visual Studio build action
-rw-r--r-- | .github/workflows/vs.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/vs.yml b/.github/workflows/vs.yml new file mode 100644 index 000000000..12b0cf003 --- /dev/null +++ b/.github/workflows/vs.yml @@ -0,0 +1,40 @@ +name: Visual Studio Build + +on: + workflow_dispatch: + +jobs: + yosys-vcxsrc: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + ref: 'master' + - name: Cache sources + id: cache-sources + uses: actions/cache@v2 + with: + path: . + key: cache-yosys + - name: Build + run: make vcxsrc YOSYS_VER=latest + - uses: actions/upload-artifact@v2 + with: + name: vcxsrc + path: yosys-win32-vcxsrc-latest.zip + + build: + runs-on: windows-latest + needs: yosys-vcxsrc + steps: + - uses: actions/download-artifact@v2 + 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 |