From eae7356c701d8419859e378bada12b6550d65262 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 25 Apr 2024 08:37:44 +0200 Subject: [PATCH] Cleanups and update of VS action --- .github/workflows/test-build.yml | 14 ++++---------- .github/workflows/test-compile.yml | 8 +------- .gitignore | 1 - 3 files changed, 5 insertions(+), 18 deletions(-) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index beb98e60e..703cb6bd7 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -1,12 +1,6 @@ name: Build and run tests -on: - pull_request: - branches: - - main - push: - branches: - - main +on: [push, pull_request] jobs: pre_job: @@ -32,7 +26,7 @@ jobs: CC: clang strategy: matrix: - os: [ubuntu-20.04, macos-13] + os: [ubuntu-latest, macos-13] fail-fast: false steps: - name: Checkout Yosys @@ -79,7 +73,7 @@ jobs: CC: clang strategy: matrix: - os: [ubuntu-20.04, macos-13] + os: [ubuntu-latest, macos-13] fail-fast: false steps: - name: Checkout Yosys @@ -148,7 +142,7 @@ jobs: CC: clang strategy: matrix: - os: [ubuntu-20.04] + os: [ubuntu-latest] fail-fast: false steps: - name: Checkout Yosys diff --git a/.github/workflows/test-compile.yml b/.github/workflows/test-compile.yml index 935167b62..6dd348102 100644 --- a/.github/workflows/test-compile.yml +++ b/.github/workflows/test-compile.yml @@ -1,12 +1,6 @@ name: Compiler testing -on: - pull_request: - branches: - - main - push: - branches: - - main +on: [push, pull_request] jobs: pre_job: diff --git a/.gitignore b/.gitignore index b4797d638..6f3e521d6 100644 --- a/.gitignore +++ b/.gitignore @@ -45,4 +45,3 @@ __pycache__ /tests/unit/bintest/ /tests/unit/objtest/ /tests/ystests -/build