aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/emcc.yml
blob: 7a9a6064f5a89c48070bf4aa9c90743c7513c02a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Emscripten Build

on: [push, pull_request]

jobs:
  emcc:
    runs-on: ubuntu-latest
    steps:
      - uses: mymindstorm/setup-emsdk@v11
      - uses: actions/checkout@v3
      - name: Cache sources
        id: cache-sources
        uses: actions/cache@v3
        with:
          path: .
          key: cache-yosys
      - name: Build
        run: |
          make config-emcc
          make YOSYS_VER=latest
      - uses: actions/upload-artifact@v3
        with:
          name: yosysjs
          path: yosysjs-latest.zip