Skip to content

Add brainpoolP224r1, brainpoolP256r1, brainpoolP320r1, brainpoolP384r1, brainpoolP512r1 EC group support #254

Add brainpoolP224r1, brainpoolP256r1, brainpoolP320r1, brainpoolP384r1, brainpoolP512r1 EC group support

Add brainpoolP224r1, brainpoolP256r1, brainpoolP320r1, brainpoolP384r1, brainpoolP512r1 EC group support #254

Workflow file for this run

# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0 OR ISC
name: WASI Build & Test
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
permissions:
contents: read
env:
WASI_SDK_VERSION: "25"
WASMTIME_VERSION: "29.0.1"
jobs:
wasi-build-test:
if: github.repository_owner == 'aws'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install build dependencies
run: |
sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
sudo apt-get -y --no-install-recommends install cmake ninja-build
- name: Setup WASI SDK
run: |
# wasi-sdk names its assets x86_64 / arm64
case "$(uname -m)" in
x86_64) WASI_SDK_ARCH=x86_64 ;;
aarch64) WASI_SDK_ARCH=arm64 ;;
*) echo "Unsupported architecture: $(uname -m)" >&2; exit 1 ;;
esac
curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_VERSION}.0-${WASI_SDK_ARCH}-linux.tar.gz | tar xz
sudo mv wasi-sdk-${WASI_SDK_VERSION}.0-${WASI_SDK_ARCH}-linux /opt/wasi-sdk
- name: Setup wasmtime
run: |
# wasmtime names its assets x86_64 / aarch64
case "$(uname -m)" in
x86_64) WASMTIME_ARCH=x86_64 ;;
aarch64) WASMTIME_ARCH=aarch64 ;;
*) echo "Unsupported architecture: $(uname -m)" >&2; exit 1 ;;
esac
curl -L https://github.com/bytecodealliance/wasmtime/releases/download/v${WASMTIME_VERSION}/wasmtime-v${WASMTIME_VERSION}-${WASMTIME_ARCH}-linux.tar.xz | tar xJ
sudo mv wasmtime-v${WASMTIME_VERSION}-${WASMTIME_ARCH}-linux/wasmtime /usr/local/bin/
- name: Verify installations
run: |
/opt/wasi-sdk/bin/clang --version
wasmtime --version
- name: Run WASI tests
env:
WASI_SDK_PREFIX: /opt/wasi-sdk
WASI_RUNTIME: wasmtime
run: |
./tests/ci/run_wasi_tests.sh