Skip to content

Commit

Permalink
Cleanups and update of VS action
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Apr 25, 2024
1 parent 29c7029 commit 38ca47c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 19 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: Build and run tests

on:
pull_request:
branches:
- main
push:
branches:
- main
on: [push, pull_request]

jobs:
build-yosys:
Expand All @@ -16,7 +10,7 @@ jobs:
CC: clang
strategy:
matrix:
os: [ubuntu-20.04, macos-13]
os: [ubuntu-latest, macos-13]
fail-fast: false
steps:
- name: Checkout Yosys
Expand Down Expand Up @@ -58,7 +52,7 @@ jobs:
CC: clang
strategy:
matrix:
os: [ubuntu-20.04, macos-13]
os: [ubuntu-latest, macos-13]
fail-fast: false
steps:
- name: Checkout Yosys
Expand Down Expand Up @@ -125,7 +119,7 @@ jobs:
CC: clang
strategy:
matrix:
os: [ubuntu-20.04]
os: [ubuntu-latest]
fail-fast: false
steps:
- name: Checkout Yosys
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/test-compile.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: Compiler testing

on:
pull_request:
branches:
- main
push:
branches:
- main
on: [push, pull_request]

jobs:
test-compile:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: unzip
run: unzip yosys-win32-vcxsrc-latest.zip
- name: setup-msbuild
uses: microsoft/setup-msbuild@v1
uses: microsoft/setup-msbuild@v2
- name: MSBuild
working-directory: yosys-win32-vcxsrc-latest
run: msbuild YosysVS.sln /p:PlatformToolset=v142 /p:Configuration=Release /p:WindowsTargetPlatformVersion=10.0.17763.0
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,3 @@ __pycache__
/tests/unit/bintest/
/tests/unit/objtest/
/tests/ystests
/build

0 comments on commit 38ca47c

Please sign in to comment.