- ふかうら王がdf-pnで見つけている詰みを見逃すことがある件 その2 #525
This file contains 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
# for Linux environment | |
name: Make CI (for WebAssembly) | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
build-wasm: | |
# ubuntu-latest = ubuntu-20.04 | |
# https://docs.github.com/ja/actions/using-github-hosted-runners/about-github-hosted-runners | |
# https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
edition: | |
- halfkp | |
- halfkp.noeval | |
- halfkpe9.noeval | |
- halfkpvm.noeval | |
- k-p | |
- k-p.noeval | |
- material | |
- material9 | |
- yaneuraou-mate | |
- tanuki-mate | |
steps: | |
- name: Checkout own repository | |
uses: actions/checkout@v2 | |
with: | |
path: main | |
- name: docker pull | |
run: | | |
docker pull emscripten/emsdk:3.1.43 | |
- name: build wasm | |
run: | | |
docker run --rm -v ${PWD}/main:/src emscripten/emsdk:3.1.43 node script/wasm_build.js ${{ matrix.edition }} | |
# - uses: actions/upload-artifact@v4 | |
# with: | |
# name: build-wasm_${{ github.run_number }}_${{ matrix.edition }}_${{ github.sha }} | |
# path: ./main/build/**/**/* |