ci: add arm64 windows runner + MSYS2 clang + clangarm64 #196
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Web CI | |
on: | |
release: | |
types: [published] | |
push: | |
branches: ['main'] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
web-build: | |
name: Build for the web | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: '0' | |
# NOTE: meson has no dependencies, so --break-system-packages doesn't really break anything! | |
- name: Setup Meson | |
run: | | |
pip install meson --break-system-packages | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install ninja-build pkg-config build-essential wabt -y --no-install-recommends | |
- name: Build | |
run: | | |
ENABLE_TESTING=1 bash ./platforms/build-web.sh complete_rebuild release CI | |
# TODO upload page to gh-pages! | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: oopetris-assets | |
path: build-web/src/executables/ |