remove macOS runner (#396)

This commit is contained in:
Gustavo Gonzalez
2025-01-02 10:38:24 -04:00
committed by GitHub
parent 43508d999f
commit eff6ebd148
3 changed files with 5 additions and 61 deletions
+2 -21
View File
@@ -13,13 +13,6 @@ on:
- "evm-template/**" - "evm-template/**"
- "**.md" - "**.md"
- "**.adoc" - "**.adoc"
workflow_dispatch:
inputs:
test-macos:
description: "run tests on macOS"
required: true
default: false
type: boolean
# If new code is pushed to a PR branch, then cancel in progress workflows for # If new code is pushed to a PR branch, then cancel in progress workflows for
# that PR. Ensures that we don't waste CI time, and returns results quicker. # that PR. Ensures that we don't waste CI time, and returns results quicker.
@@ -42,19 +35,7 @@ env:
jobs: jobs:
clippy-fmt-test: clippy-fmt-test:
strategy: runs-on: ubuntu-22.04
fail-fast: false
matrix:
os:
- ubuntu-22.04
- macos-12
run-all:
- ${{ inputs.test-macos == true || github.ref == 'refs/heads/main' }}
exclude: # exclude macos-12 when the condition is false
- run-all: false
os: macos-12
runs-on: ${{ matrix.os }}
defaults: defaults:
run: run:
working-directory: ./ working-directory: ./
@@ -74,7 +55,7 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1 uses: actions-rust-lang/setup-rust-toolchain@v1
with: with:
components: clippy, rustfmt components: clippy, rustfmt
- name: "Install cargo-llvm-cov" - name: "Install cargo-llvm-cov"
uses: taiki-e/install-action@v2 uses: taiki-e/install-action@v2
with: with:
+1 -20
View File
@@ -13,13 +13,6 @@ on:
- "generic-template/**" - "generic-template/**"
- "**.md" - "**.md"
- "**.adoc" - "**.adoc"
workflow_dispatch:
inputs:
test-macos:
description: "run tests on macOS"
required: true
default: false
type: boolean
# If new code is pushed to a PR branch, then cancel in progress workflows for # If new code is pushed to a PR branch, then cancel in progress workflows for
# that PR. Ensures that we don't waste CI time, and returns results quicker. # that PR. Ensures that we don't waste CI time, and returns results quicker.
@@ -42,19 +35,7 @@ env:
jobs: jobs:
evm-clippy-fmt-test: evm-clippy-fmt-test:
strategy: runs-on: ubuntu-22.04
fail-fast: false
matrix:
os:
- ubuntu-22.04
- macos-12
run-all:
- ${{ inputs.test-macos == true || github.ref == 'refs/heads/main' }}
exclude: # exclude macos-12 when the condition is false
- run-all: false
os: macos-12
runs-on: ${{ matrix.os }}
defaults: defaults:
run: run:
working-directory: ./evm-template working-directory: ./evm-template
+2 -20
View File
@@ -13,13 +13,6 @@ on:
- "evm-template/**" - "evm-template/**"
- "**.md" - "**.md"
- "**.adoc" - "**.adoc"
workflow_dispatch:
inputs:
test-macos:
description: "run tests on macOS"
required: true
default: false
type: boolean
# If new code is pushed to a PR branch, then cancel in progress workflows for # If new code is pushed to a PR branch, then cancel in progress workflows for
# that PR. Ensures that we don't waste CI time, and returns results quicker. # that PR. Ensures that we don't waste CI time, and returns results quicker.
@@ -42,22 +35,11 @@ env:
jobs: jobs:
clippy-fmt-test: clippy-fmt-test:
strategy: runs-on: ubuntu-22.04
fail-fast: false
matrix:
os:
- ubuntu-22.04
- macos-12
run-all:
- ${{ inputs.test-macos == true || github.ref == 'refs/heads/main' }}
exclude: # exclude macos-12 when the condition is false
- run-all: false
os: macos-12
runs-on: ${{ matrix.os }}
defaults: defaults:
run: run:
working-directory: ./generic-template working-directory: ./generic-template
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v4