-
Notifications
You must be signed in to change notification settings - Fork 4
53 lines (51 loc) · 1.44 KB
/
ci_qemu_others.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: armv7, aarch64, ppc64le
on:
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build-qemu:
name: ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- target: arm
arch: armv7
- target: aarch64
arch: aarch64
- target: ppc64v2
arch: ppc64le
steps:
- uses: actions/checkout@v3
- uses: uraimo/run-on-arch-action@v2
with:
arch: ${{ matrix.arch }}
distro: ubuntu_latest
install: |
apt-get update -q -y
apt-get install -q -y --no-install-recommends cmake build-essential
env: |
# Valgrind on arm will fail if the stack size is larger than 8MB.
# Set QEMUs stack size to 8MB since Github runners use 16MB default.
QEMU_STACK_SIZE: 8388608
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DLIBRESSL_TESTS=OFF -DLIBRESSL_APPS=OFF ..
cmake --build .
./chan_3
./primes
./test_delay 2
./go_channel
./go_sleep
./go_select
if [ "${{ matrix.target }}" != "arm" ]; then
./go_wait_group
./go_panic
fi
./co_uv_fs
./co_uv_spawn
./co_uv_stream
./co_cpp_future_wait