aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/emcc.yml
blob: f1cc4b3e7068ada82344d2b7a450b54f5bef37db (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@v2
      - name: Cache sources
        id: cache-sources
        uses: actions/cache@v2
        with:
          path: .
          key: cache-yosys
      - name: Build
        run: |
          make config-emcc
          make YOSYS_VER=latest
      - uses: actions/upload-artifact@v2
        with:
          name: yosysjs
          path: yosysjs-latest.zip