aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2022-05-27 11:05:17 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2022-05-27 11:05:17 +0200
commit5490f94e82180972e6534aed12c26e6575e35ec5 (patch)
tree16b478bd9d16261c339257112a0bb5a0b94f108d /.github
parent0d31aa60081a408354bb21ca709bbddc16a9375e (diff)
downloadyosys-5490f94e82180972e6534aed12c26e6575e35ec5.tar.gz
yosys-5490f94e82180972e6534aed12c26e6575e35ec5.tar.bz2
yosys-5490f94e82180972e6534aed12c26e6575e35ec5.zip
Add emcc build (stuck if all cpus used on GH)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/emcc.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/emcc.yml b/.github/workflows/emcc.yml
new file mode 100644
index 000000000..0df466b92
--- /dev/null
+++ b/.github/workflows/emcc.yml
@@ -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