mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-04-22 02:07:55 +00:00
remove macOS runner (#396)
This commit is contained in:
@@ -13,13 +13,6 @@ on:
|
||||
- "evm-template/**"
|
||||
- "**.md"
|
||||
- "**.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
|
||||
# that PR. Ensures that we don't waste CI time, and returns results quicker.
|
||||
@@ -42,19 +35,7 @@ env:
|
||||
|
||||
jobs:
|
||||
clippy-fmt-test:
|
||||
strategy:
|
||||
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 }}
|
||||
runs-on: ubuntu-22.04
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./
|
||||
@@ -74,7 +55,7 @@ jobs:
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
components: clippy, rustfmt
|
||||
|
||||
|
||||
- name: "Install cargo-llvm-cov"
|
||||
uses: taiki-e/install-action@v2
|
||||
with:
|
||||
|
||||
@@ -13,13 +13,6 @@ on:
|
||||
- "generic-template/**"
|
||||
- "**.md"
|
||||
- "**.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
|
||||
# that PR. Ensures that we don't waste CI time, and returns results quicker.
|
||||
@@ -42,19 +35,7 @@ env:
|
||||
|
||||
jobs:
|
||||
evm-clippy-fmt-test:
|
||||
strategy:
|
||||
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 }}
|
||||
runs-on: ubuntu-22.04
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./evm-template
|
||||
|
||||
@@ -13,13 +13,6 @@ on:
|
||||
- "evm-template/**"
|
||||
- "**.md"
|
||||
- "**.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
|
||||
# that PR. Ensures that we don't waste CI time, and returns results quicker.
|
||||
@@ -42,22 +35,11 @@ env:
|
||||
|
||||
jobs:
|
||||
clippy-fmt-test:
|
||||
strategy:
|
||||
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 }}
|
||||
runs-on: ubuntu-22.04
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./generic-template
|
||||
|
||||
steps:
|
||||
- name: git checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user