Skip to content

ci: removes amd64/macOS tests #2248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ jobs:
platform:
- os: ubuntu-22.04
arch: amd64
- os: macos-12
arch: amd64
- os: windows-2022
arch: amd64
- os: macos-14
Expand Down Expand Up @@ -194,7 +192,7 @@ jobs:
# This ensures that internal/integration_test/fuzz is runnable, and is not intended to
# run full-length fuzzing while trying to find low-hanging frontend bugs.
fuzz:
name: Minimal Fuzzing (${{ matrix.platform.os }}, ${{ matrix.platform.arch }} )
name: Minimal Fuzzing (${{ matrix.platform.os }}, ${{ matrix.platform.arch }})
runs-on: ${{ matrix.platform.os }}
strategy:
fail-fast: false # don't fail fast as sometimes failures are arch/OS specific
Expand Down
49 changes: 17 additions & 32 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:

zig:
needs: build_zig_test_binary
name: Zig (${{ matrix.os.name }}, ${{ matrix.arch }})
name: Zig (${{ matrix.os.name }}, ${{ matrix.os.arch }})
runs-on: ${{ matrix.os.version }}
strategy:
fail-fast: false # don't fail fast as sometimes failures are arch/OS specific
Expand All @@ -88,16 +88,13 @@ jobs:
os:
- version: ubuntu-22.04
name: Ubuntu
- version: macos-12
arch: amd64
- version: macos-14
name: macOS
arch: arm64
- version: windows-2022
name: Windows
arch: [amd64]
include:
- os:
version: macos-14
name: macOS
arch: arm64
arch: amd64

steps:
- name: Checkout wazero
Expand Down Expand Up @@ -160,7 +157,7 @@ jobs:

tinygo:
needs: build_tinygo_test_binary
name: TinyGo (${{ matrix.os.name }}, ${{ matrix.arch }})
name: TinyGo (${{ matrix.os.name }}, ${{ matrix.os.arch }})
runs-on: ${{ matrix.os.version }}
strategy:
fail-fast: false # don't fail fast as sometimes failures are arch/OS specific
Expand All @@ -170,16 +167,13 @@ jobs:
os:
- version: ubuntu-22.04
name: Ubuntu
- version: macos-12
arch: amd64
- version: macos-14
name: macOS
arch: arm64
- version: windows-2022
name: Windows
arch: [amd64]
include:
- os:
version: macos-14
name: macOS
arch: arm64
arch: amd64

steps:
- name: Checkout wazero
Expand Down Expand Up @@ -211,7 +205,7 @@ jobs:
strategy:
fail-fast: false # don't fail fast as sometimes failures are arch/OS specific
matrix:
os: [ubuntu-22.04, macos-12, windows-2022]
os: [ubuntu-22.04, macos-14, windows-2022]

steps:
- uses: actions/cache@v3
Expand Down Expand Up @@ -264,7 +258,7 @@ jobs:
go_tests:
# Due to the embedding of the GOROOT of the building env(https://github.com/golang/go/blob/3c59639b902fada0a2e5a6a35bafd10fc9183b89/src/os/os_test.go#L112),
# we have to build and cache on each OS unlike others in this file.
name: Go-${{ matrix.go-version }} (${{ matrix.os.name }}, ${{ matrix.arch }})
name: Go-${{ matrix.go-version }} (${{ matrix.os.name }}, ${{ matrix.os.arch }})
runs-on: ${{ matrix.os.version }}
strategy:
fail-fast: false # don't fail fast as sometimes failures are arch/OS specific
Expand All @@ -274,25 +268,16 @@ jobs:
os:
- version: ubuntu-22.04
name: Ubuntu
- version: macos-12
arch: amd64
- version: macos-14
name: macOS
arch: arm64
- version: windows-2022
name: Windows
arch: [amd64]
arch: amd64
go-version:
- "1.21"
- "1.22"
include:
- os:
version: macos-14
name: macOS
arch: "arm64"
go-version: "1.21"
- os:
version: macos-14
name: macOS
arch: "arm64"
go-version: "1.22"

steps:
- id: setup-go
Expand All @@ -310,7 +295,7 @@ jobs:
path:
${{ env.STDLIB_TESTS }}/testdata/go
# Use precise Go version from setup-go as patch version differences can effect tests.
key: go-wasip1-binaries-${{ matrix.os.version }}-${{ steps.setup-go.outputs.go-version }}-${{ matrix.arch }}
key: go-wasip1-binaries-${{ matrix.os.version }}-${{ steps.setup-go.outputs.go-version }}-${{ matrix.os.arch }}

- if: ${{ steps.cache-go-test-binaries.outputs.cache-hit != 'true' }}
name: Build Test Binaries
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
strategy:
fail-fast: false # don't fail fast as sometimes failures are arch/OS specific
matrix:
os: [ubuntu-22.04, macos-12, windows-2022]
os: [ubuntu-22.04, macos-14, windows-2022]

steps:
- uses: actions/checkout@v3
Expand Down
Loading