diff options
Diffstat (limited to '.github/workflows/build_tests.yaml')
-rw-r--r-- | .github/workflows/build_tests.yaml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/build_tests.yaml b/.github/workflows/build_tests.yaml index 55f71c6..b83753c 100644 --- a/.github/workflows/build_tests.yaml +++ b/.github/workflows/build_tests.yaml @@ -40,3 +40,29 @@ jobs: - name: make run: make V=1 E=1 all + + debian-testing: + runs-on: ubuntu-latest + + container: + image: debian:testing + + steps: + - name: Install tools/deps + run: | + apt-get -y update + apt-get -y install git curl wget wasi-libc make clang llvm lld + wget -O- https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/libclang_rt.builtins-wasm32-wasi-20.0.tar.gz | tar --strip-components=1 -xvzf - -C $(dirname $(clang -print-runtime-dir)) + curl https://sh.rustup.rs -sSf | sh -s -- -y + . "$HOME/.cargo/env" + rustup target add wasm32-wasi + wget -O- https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sysroot-20.0.tar.gz | tar -xvzf - -C ${RUNNER_TEMP} + + - uses: actions/checkout@v3 + with: + fetch-depth: "0" + + - name: make + run: | + . "$HOME/.cargo/env" + make WASI_SYSROOT=${RUNNER_TEMP}/wasi-sysroot V=1 E=1 all |