Skip to content
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

Remove the x86 build/test from the CI. #495

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
11 changes: 3 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,20 @@ jobs:
go-version: [1.21.x]
# TODO: Get this working on windows-latest
os: [ubuntu-latest]
architecture: [x32, x64]
include:
- os: macos-latest
architecture: arm64
go-version: 1.21.x
- os: macos-14-large
architecture: x64
go-version: 1.21.x
name: Generate/Build/Test (${{ matrix.os }}, ${{ matrix.architecture }}, Go ${{ matrix.go-version }})
name: Generate/Build/Test (${{ matrix.os }}, Go ${{ matrix.go-version }})
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
architecture: ${{ matrix.architecture }}
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
Expand All @@ -60,10 +58,7 @@ jobs:
git diff -G'^[^/]' --exit-code
- name: Install Linux 64-bit packages
run: sudo apt-get -y install libssl-dev
if: runner.os == 'Linux' && matrix.architecture == 'x64'
- name: Install Linux 32-bit packages
run: sudo dpkg --add-architecture i386; sudo apt-get update; sudo apt-get -y install libssl-dev:i386 libgcc-s1:i386 gcc-multilib
if: runner.os == 'Linux' && matrix.architecture == 'x32'
if: runner.os == 'Linux'
- name: Install Mac packages
run: |
brew install openssl
Expand All @@ -79,7 +74,7 @@ jobs:
sudo $GO_EXECUTABLE_PATH test -v -run "TestFetchImageSignaturesDockerPublic" ./launcher
- name: Run specific tests to capture potential data race
run: go test ./launcher/agent -race -run TestCacheConcurrentSetGet
if: (runner.os == 'Linux' || runner.os == 'macOS') && matrix.architecture == 'x64'
if: runner.os == 'Linux' || runner.os == 'macOS'
- name: Test all modules
run: go test -v ./... ./cmd/... ./launcher/... ./verifier/... -skip='TestCacheConcurrentSetGet|TestHwAttestationPass|TestHardwareAttestationPass'

Expand Down
Loading