Add emcc build (stuck if all cpus used on GH)

This commit is contained in:
Miodrag Milanovic 2022-05-27 11:05:17 +02:00
parent 0d31aa6008
commit 5490f94e82
1 changed files with 20 additions and 0 deletions

20
.github/workflows/emcc.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Emscripten Build
on: [push, pull_request]
jobs:
emcc:
runs-on: ubuntu-latest
steps:
- uses: mymindstorm/setup-emsdk@v11
- uses: actions/checkout@v2
- name: Cache sources
id: cache-sources
uses: actions/cache@v2
with:
path: .
key: cache-yosys
- name: Build
run: |
make config-emcc
make