Archived
publish / wasm3-win-x86 (push) Canceled after 0s
publish / wasm3-win-x64 (push) Canceled after 0s
publish / build-cosmopolitan (push) Canceled after 0s
publish / wasm3-wasi (push) Canceled after 0s
publish / wasm3-android-coremark (push) Canceled after 0s
tests / build-linux-clang-no-uvwasi (push) Canceled after 0s
tests / build-linux-clang-no-uvwasi-debug (push) Canceled after 0s
tests / build-linux-clang-x86 (push) Canceled after 0s
tests / build-linux-clang (push) Canceled after 0s
tests / build-linux-gcc-no-uvwasi (push) Canceled after 0s
tests / build-linux-gcc-debug (push) Canceled after 0s
tests / build-linux-gcc (push) Canceled after 0s
tests / build-linux-alpine (push) Canceled after 0s
tests / build-mac-no-uvwasi (push) Canceled after 0s
tests / build-mac-uvwasi (push) Canceled after 0s
tests / build-windows-clang-x86-no-uvwasi (push) Canceled after 0s
tests / build-windows-msvc-x86-no-uvwasi (push) Canceled after 0s
tests / build-windows-clang-x64-no-uvwasi (push) Canceled after 0s
tests / build-windows-msvc-x64-no-uvwasi (push) Canceled after 0s
tests / build-windows-clang-x86 (push) Canceled after 0s
tests / build-windows-msvc-x86 (push) Canceled after 0s
tests / build-windows-clang-x64 (push) Canceled after 0s
tests / build-windows-msvc-x64 (push) Canceled after 0s
tests / build-wasi (push) Canceled after 0s
tests / build-ios (push) Canceled after 0s
tests / build-android (push) Canceled after 0s
tests / build-cosmopolitan (push) Canceled after 0s
tests / build-cross-qemu-aarch64 (u64 slots) (push) Canceled after 0s
tests / build-cross-qemu-aarch64 (push) Canceled after 0s
tests / build-cross-qemu-alpha (push) Canceled after 0s
tests / build-cross-qemu-arm (u64 slots) (push) Canceled after 0s
tests / build-cross-qemu-arm (push) Canceled after 0s
tests / build-cross-qemu-armhf (push) Canceled after 0s
tests / build-cross-qemu-mips (push) Canceled after 0s
tests / build-cross-qemu-mips64 (push) Canceled after 0s
tests / build-cross-qemu-mips64el (push) Canceled after 0s
tests / build-cross-qemu-mipsel (push) Canceled after 0s
tests / build-cross-qemu-ppc (u64 slots) (push) Canceled after 0s
tests / build-cross-qemu-ppc (push) Canceled after 0s
tests / build-cross-qemu-ppc64 (u64 slots) (push) Canceled after 0s
tests / build-cross-qemu-ppc64 (push) Canceled after 0s
tests / build-cross-qemu-ppc64le (push) Canceled after 0s
tests / build-cross-qemu-riscv64 (push) Canceled after 0s
tests / build-cross-qemu-s390x (push) Canceled after 0s
tests / build-cross-qemu-sparc64 (push) Canceled after 0s
tests / build-platformio (push) Canceled after 0s
tests / build-platformio-arm (push) Canceled after 0s
tests / build-platformio-riscv (push) Canceled after 0s
tests / build-particle (push) Canceled after 0s
tests / build-esp32-idf (push) Canceled after 0s
tests / build-cpp (push) Canceled after 0s
tests / maintenance (build as C++) (push) Canceled after 0s
tests / maintenance (debug logs) (push) Canceled after 0s
tests / maintenance (preprocess ops) (push) Canceled after 0s
tests / build-python (3.5) (push) Canceled after 0s
tests / build-python (3.6) (push) Canceled after 0s
tests / build-python (3.7) (push) Canceled after 0s
tests / build-python (3.8) (push) Canceled after 0s
tests / build-python (3.9) (push) Canceled after 0s
143 lines
3.6 KiB
YAML
143 lines
3.6 KiB
YAML
name: publish
|
||
|
||
on:
|
||
push:
|
||
tags:
|
||
- "v*.*.*"
|
||
|
||
env:
|
||
draft: true
|
||
|
||
jobs:
|
||
build-windows:
|
||
runs-on: windows-latest
|
||
name: ${{ matrix.config.target }}
|
||
timeout-minutes: 10
|
||
|
||
strategy:
|
||
fail-fast: false
|
||
matrix:
|
||
config:
|
||
- {target: wasm3-win-x64, platform: "-A x64", toolset: "-T ClangCL" }
|
||
- {target: wasm3-win-x86, platform: "-A Win32", toolset: "-T ClangCL" }
|
||
|
||
env:
|
||
LDFLAGS: -s
|
||
steps:
|
||
- uses: actions/checkout@v2
|
||
- name: Configure
|
||
run: |
|
||
mkdir build
|
||
cd build
|
||
cmake ${{ matrix.config.platform }} ${{ matrix.config.toolset }} ..
|
||
- name: Build
|
||
run: |
|
||
cmake --build build --config Release
|
||
cp ./build/Release/wasm3.exe ./${{ matrix.config.target }}.exe
|
||
- name: Publish
|
||
uses: softprops/action-gh-release@v1
|
||
with:
|
||
draft: ${{ env.draft }}
|
||
files: "*.exe"
|
||
env:
|
||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
||
build-cosmopolitan:
|
||
runs-on: ubuntu-20.04
|
||
timeout-minutes: 10
|
||
|
||
steps:
|
||
- uses: actions/checkout@v2
|
||
- name: Build αcτµαlly pδrταblε εxεcµταblε
|
||
run: |
|
||
cd platforms/cosmopolitan
|
||
./build.sh
|
||
cp ./wasm3.com ../../wasm3-cosmopolitan.com
|
||
cp ./wasm3.com.dbg ../../wasm3-cosmopolitan.com.dbg
|
||
- name: Publish
|
||
uses: softprops/action-gh-release@v1
|
||
with:
|
||
draft: ${{ env.draft }}
|
||
files: |
|
||
*.com
|
||
*.com.dbg
|
||
env:
|
||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
||
build-wasi:
|
||
runs-on: ubuntu-latest
|
||
name: wasm3-wasi
|
||
timeout-minutes: 10
|
||
|
||
env:
|
||
LDFLAGS: -s
|
||
steps:
|
||
- uses: actions/checkout@v2
|
||
- name: Install Python dependencies
|
||
run: |
|
||
python3 -m pip install pip==20.1.1
|
||
python3 -m pip install --upgrade setuptools wheel
|
||
pip3 --version
|
||
- name: Install Wasienv
|
||
env:
|
||
WASMER_RELEASE_TAG: "1.0.2"
|
||
run: curl https://raw.githubusercontent.com/wasienv/wasienv/master/install.sh | sh
|
||
- name: Configure
|
||
run: |
|
||
source $HOME/.wasienv/wasienv.sh
|
||
mkdir build
|
||
cd build
|
||
wasimake cmake ..
|
||
- name: Build
|
||
run: |
|
||
source $HOME/.wasienv/wasienv.sh
|
||
cmake --build build
|
||
cp ./build/wasm3.wasm ./wasm3-wasi.wasm
|
||
- name: Configure, Build wasm3-strace
|
||
env:
|
||
CFLAGS: -DDEBUG -Dd_m3EnableStrace=2
|
||
run: |
|
||
source $HOME/.wasienv/wasienv.sh
|
||
mkdir build-strace
|
||
cd build-strace
|
||
wasimake cmake ..
|
||
cmake --build .
|
||
cp ./wasm3.wasm ../wasm3-strace.wasm
|
||
- name: Publish
|
||
uses: softprops/action-gh-release@v1
|
||
with:
|
||
draft: ${{ env.draft }}
|
||
files: "*.wasm"
|
||
env:
|
||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
||
build-android:
|
||
runs-on: ubuntu-latest
|
||
name: wasm3-android-coremark
|
||
timeout-minutes: 10
|
||
|
||
steps:
|
||
- uses: actions/checkout@v2
|
||
- uses: seanmiddleditch/gha-setup-ninja@master
|
||
- name: Set up JDK 1.8
|
||
uses: actions/setup-java@v1
|
||
with:
|
||
java-version: 1.8
|
||
- name: Install NDK
|
||
run: |
|
||
sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;22.0.7026061"
|
||
- name: Build
|
||
run: |
|
||
cd platforms/android
|
||
./gradlew build
|
||
- name: Copy
|
||
run: |
|
||
cp ./platforms/android/app/build/outputs/apk/debug/app-debug.apk ./wasm3-android-coremark.apk
|
||
- name: Publish
|
||
uses: softprops/action-gh-release@v1
|
||
with:
|
||
draft: ${{ env.draft }}
|
||
files: "*.apk"
|
||
env:
|
||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|