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

Revert "ci: try installing qemu 7.0 from canonical server backports" #238

Merged
merged 3 commits into from
Jul 13, 2024
Merged
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
121 changes: 58 additions & 63 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,36 +180,36 @@ jobs:
TOYWASM_ENABLE_WASI_THREADS: OFF
TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: OFF
TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: OFF
- name: ubuntu-20.04-armhf
os: ubuntu-20.04
compiler: clang
arch: armhf
BUILD_TYPE: Release
TOYWASM_USE_SEPARATE_EXECUTE: ON
TOYWASM_USE_TAILCALL: ON
TOYWASM_ENABLE_TRACING: OFF
TOYWASM_USE_SMALL_CELLS: ON
TOYWASM_USE_SEPARATE_LOCALS: ON
MISC_FEATURES: OFF
TOYWASM_ENABLE_WASM_THREADS: OFF
TOYWASM_ENABLE_WASI_THREADS: OFF
TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: OFF
TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: OFF
- name: ubuntu-20.04-s390x
os: ubuntu-20.04
compiler: clang
arch: s390x
BUILD_TYPE: Release
TOYWASM_USE_SEPARATE_EXECUTE: ON
TOYWASM_USE_TAILCALL: ON
TOYWASM_ENABLE_TRACING: OFF
TOYWASM_USE_SMALL_CELLS: ON
TOYWASM_USE_SEPARATE_LOCALS: ON
MISC_FEATURES: OFF
TOYWASM_ENABLE_WASM_THREADS: OFF
TOYWASM_ENABLE_WASI_THREADS: OFF
TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: OFF
TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: OFF
#- name: ubuntu-20.04-armhf
# os: ubuntu-20.04
# compiler: clang
# arch: armhf
# BUILD_TYPE: Release
# TOYWASM_USE_SEPARATE_EXECUTE: ON
# TOYWASM_USE_TAILCALL: ON
# TOYWASM_ENABLE_TRACING: OFF
# TOYWASM_USE_SMALL_CELLS: ON
# TOYWASM_USE_SEPARATE_LOCALS: ON
# MISC_FEATURES: OFF
# TOYWASM_ENABLE_WASM_THREADS: OFF
# TOYWASM_ENABLE_WASI_THREADS: OFF
# TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: OFF
# TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: OFF
#- name: ubuntu-20.04-s390x
# os: ubuntu-20.04
# compiler: clang
# arch: s390x
# BUILD_TYPE: Release
# TOYWASM_USE_SEPARATE_EXECUTE: ON
# TOYWASM_USE_TAILCALL: ON
# TOYWASM_ENABLE_TRACING: OFF
# TOYWASM_USE_SMALL_CELLS: ON
# TOYWASM_USE_SEPARATE_LOCALS: ON
# MISC_FEATURES: OFF
# TOYWASM_ENABLE_WASM_THREADS: OFF
# TOYWASM_ENABLE_WASI_THREADS: OFF
# TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: OFF
# TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: OFF
- name: ubuntu-20.04-riscv64
os: ubuntu-20.04
compiler: clang
Expand Down Expand Up @@ -272,22 +272,22 @@ jobs:
TOYWASM_ENABLE_WASI_THREADS: ON
TOYWASM_ENABLE_WASI_LITTLEFS: ON
TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: ON
- name: full-ubuntu-20.04-s390x
os: ubuntu-20.04
compiler: clang
arch: s390x
BUILD_TYPE: Release
TOYWASM_USE_SEPARATE_EXECUTE: ON
TOYWASM_USE_TAILCALL: ON
TOYWASM_ENABLE_TRACING: OFF
TOYWASM_USE_SMALL_CELLS: ON
TOYWASM_USE_SEPARATE_LOCALS: ON
MISC_FEATURES: ON
TOYWASM_ENABLE_WASM_THREADS: ON
TOYWASM_ENABLE_WASI_THREADS: ON
TOYWASM_ENABLE_WASI_LITTLEFS: ON
TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: ON
TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: ON
#- name: full-ubuntu-20.04-s390x
# os: ubuntu-20.04
# compiler: clang
# arch: s390x
# BUILD_TYPE: Release
# TOYWASM_USE_SEPARATE_EXECUTE: ON
# TOYWASM_USE_TAILCALL: ON
# TOYWASM_ENABLE_TRACING: OFF
# TOYWASM_USE_SMALL_CELLS: ON
# TOYWASM_USE_SEPARATE_LOCALS: ON
# MISC_FEATURES: ON
# TOYWASM_ENABLE_WASM_THREADS: ON
# TOYWASM_ENABLE_WASI_THREADS: ON
# TOYWASM_ENABLE_WASI_LITTLEFS: ON
# TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING: ON
# TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES: ON
- name: full-ubuntu-20.04-riscv64
os: ubuntu-20.04
compiler: clang
Expand Down Expand Up @@ -413,12 +413,7 @@ jobs:

- name: Install QEMU
if: matrix.arch != 'native' && matrix.arch != 'i386'
# install newer qemu from
# https://launchpad.net/%7Ecanonical-server/+archive/ubuntu/server-backports/
# https://github.com/yamt/toywasm/pull/53#issuecomment-1605899935
run: |
sudo apt-get update && sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:canonical-server/server-backports
sudo apt-get update && sudo apt-get install -y qemu-user-static

- name: toywasm --version
Expand Down Expand Up @@ -629,15 +624,15 @@ jobs:
name: ubuntu-20.04-arm64
path: release_assets

- uses: actions/download-artifact@v3
with:
name: ubuntu-20.04-armhf
path: release_assets
#- uses: actions/download-artifact@v3
# with:
# name: ubuntu-20.04-armhf
# path: release_assets

- uses: actions/download-artifact@v3
with:
name: ubuntu-20.04-s390x
path: release_assets
#- uses: actions/download-artifact@v3
# with:
# name: ubuntu-20.04-s390x
# path: release_assets

- uses: actions/download-artifact@v3
with:
Expand All @@ -659,10 +654,10 @@ jobs:
name: full-ubuntu-20.04-armhf
path: release_assets

- uses: actions/download-artifact@v3
with:
name: full-ubuntu-20.04-s390x
path: release_assets
#- uses: actions/download-artifact@v3
# with:
# name: full-ubuntu-20.04-s390x
# path: release_assets

- uses: actions/download-artifact@v3
with:
Expand Down
Loading