Giter Club home page Giter Club logo

setup-emsdk's Introduction

setup-emsdk

This actions step downloads emsdk and installs a version of Emscripten.

Usage

name: "emsdk"
on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: mymindstorm/setup-emsdk@v14

      - name: Verify
        run: emcc -v

Cache

To just cache emsdk:

- name: Setup emsdk
  uses: mymindstorm/setup-emsdk@v14
  with:
    # Make sure to set a version number!
    version: 1.38.40
    # This is the name of the cache folder.
    # The cache folder will be placed in the build directory,
    #  so make sure it doesn't conflict with anything!
    actions-cache-folder: 'emsdk-cache'

- name: Verify
  run: emcc -v

If you want to also cache system libraries generated during build time:

env:
  EM_VERSION: 1.39.18
  EM_CACHE_FOLDER: 'emsdk-cache'

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Setup cache
        id: cache-system-libraries
        uses: actions/cache@v2
        with:
          path: ${{env.EM_CACHE_FOLDER}}
          key: ${{env.EM_VERSION}}-${{ runner.os }}
      - uses: mymindstorm/setup-emsdk@v14
        with:
          version: ${{env.EM_VERSION}}
          actions-cache-folder: ${{env.EM_CACHE_FOLDER}}
      - name: Build library
        run: make -j2
      - name: Run unit tests
        run: make check

Options

version:
  description: 'Version to install'
  default: 'latest'
no-install:
  description: "If true will not download any version of Emscripten. emsdk will still be added to PATH."
  default: false
no-cache:
  description: "If true will not cache any downloads with tc.cacheDir."
  default: false
actions-cache-folder:
  description: "Directory to cache emsdk in. This folder will go under $GITHUB_HOME (I.e. build dir) and be cached using @actions/cache."
  default: ''
update:
  description: "Fetch package information for all the new tools and SDK versions"
  default: false

See action.yml

setup-emsdk's People

Contributors

ams21 avatar dependabot[bot] avatar dirtyhairy avatar ianpurvis avatar kichikuou avatar kofigumbs avatar mymindstorm avatar skycoder42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

setup-emsdk's Issues

How to sponsor/donate?

My project uses setup-emsdk and I would like to tip the developers. Do you permit GitHub Sponsors or any other way to contribute financially?

Support for legacy fastcomp versions

Hi,

first of all thanks for this great action!

I need to maintain builds that run emscripten version 1.38.48-fastcomp.
This action seems to always install the latest (3.1.30 as of now) and runs it to install older versions. Unfortunately this won't install fastcomp versions any longer:

/home/runner/work/_temp/.../emsdk-main/emsdk install 1.38.48-fastcomp
error: the fastcomp backend is no longer supported.  Please use an older version of emsdk (for example 3.1.29) if you want to install the old fastcomp-based SDK

Is there a fix or way around it?

Thanks!

Emscripten sanity check deletes cache during build

Hi and thanks for this action.

We are encoutering a weird issue, that is both hard to track and to reproduce:

Our use-case: We use setup-emsdk action to install and cache emscripten in a "pre-cache" job, and then restore and activate it from cache in a following job to avoid multiple downloads and installations with matrix builds. Our setup looks like follows:

env:
  EMSCRIPTEN_VERSION: latest
  EMSCRIPTEN_CACHE_FOLDER: emsdk-cache

<snip>
jobs:
setup_emscripten:
    name: Set up and cache emscripten
    runs-on: ubuntu-20.04
    steps:
      - name: Set up cache
        uses: actions/cache@v2
        id: cache
        with:
          path: ${{ env.EMSCRIPTEN_CACHE_FOLDER }}-${{ github.run_id }}
          key: ${{ runner.os }}-emsdk-${{ env.EMSCRIPTEN_VERSION }}-${{ github.run_id }}

      - name: Set up emsdk
        uses: mymindstorm/setup-emsdk@v7
        with:
          version: ${{ env.EMSCRIPTEN_VERSION }}
          actions-cache-folder: ${{ env.EMSCRIPTEN_CACHE_FOLDER }}-${{ github.run_id }}
          no-cache: true

<snip>

build_js:
    runs-on: ubuntu-20.04
    needs: [setup_emscripten]
    strategy:
      matrix:
        toolkit:
          <4 build options>
    steps:
      - name: Checkout main repo
        uses: actions/checkout@v2

      - name: Restore cache
        id: restore_cache
        uses: actions/cache@v2
        with:
          path: ${{ env.EMSCRIPTEN_CACHE_FOLDER }}-${{ github.run_id }}
          key: ${{ runner.os }}-emsdk-${{ env.EMSCRIPTEN_VERSION }}-${{ github.run_id }}

      - name: Set up emsdk (cache not found)
        uses: mymindstorm/setup-emsdk@v7
        if: steps.restore_cache.outputs.cache-hit != 'true'
        with:
          version: ${{ env.EMSCRIPTEN_VERSION }}
          no-cache: true
      - name: Set up emsdk (cache found)
        if: steps.restore_cache.outputs.cache-hit == 'true'
        uses: mymindstorm/setup-emsdk@v7
        with:
          version: ${{ env.EMSCRIPTEN_VERSION }}
          actions-cache-folder: ${{ env.EMSCRIPTEN_CACHE_FOLDER }}-${{ github.run_id }}
          no-cache: true

The issue: With some build runs, it seems that the emscripten config changes during the run and clears the cache (triggered by its sanity check). This seems to happen unpredicatbly, i.e. sometimes it works without problems, sometimes the issue appears.

You can find a failing run in https://github.com/musicEnfanthen/verovio/actions/runs/322146695 .
The sanity check info is thrown in: https://github.com/musicEnfanthen/verovio/runs/1292826609?check_suite_focus=true#step:8:55

Is this a known issue? Is there something wrong in our setup?

Thanks in advance.

Option to avoid running `construct_env`?

emsdk construct_env will clobber the PATH for other tools like node, which can be annoying if you need a later version of node. It would be nice if this could be avoided (possibly with an opt-in option, to avoid breaking changes).

Per this comment, you can instead set the EM_CONFIG environment variable to make emcc work without clobbering any other tools. That seems better. It also seems like it should be the default, but unless emsdk adopts that behavior, this would be helpful.

Error on Build Library

When running the full cache example I get this error on the Build Library step make: *** No targets specified and no makefile found. Stop. This to me makes sense as I dont know where the makefile would be coming from. Am I missing something?

node12 -> node16

Started having a warning by GitHub actions:


The following actions uses node12 which is deprecated and will be forced to run on node16: mymindstorm/setup-emsdk@v11. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Cache system libraries

First of all, thanks a lot for putting this out there; I've started using it today and it worked flawlessly in the first try.

This is not an issue but a feature request. It seems like the cache is being stored at the end of Run mymindstorm/setup-emsdk@v5, so system libraries built during the "normal" compilation are not cached.

In my test build, generating these libraries take ~1m 40s (out of ~2m). Extract:

Tue, 07 Jul 2020 12:11:04 GMT
cache:INFO: generating system library: libc.a... (this will be cached in "/home/runner/work/bq-tiler/bq-tiler/emsdk-cache/emsdk-master/upstream/emscripten/cache/wasm-lto/libc.a" for subsequent builds)
Tue, 07 Jul 2020 12:12:08 GMT
cache:INFO:  - ok
Tue, 07 Jul 2020 12:12:08 GMT
cache:INFO: generating system library: libcompiler_rt.a... (this will be cached in "/home/runner/work/bq-tiler/bq-tiler/emsdk-cache/emsdk-master/upstream/emscripten/cache/wasm-lto/libcompiler_rt.a" for subsequent builds)

Is there any way to setup a post run step to the build (either manually in each job or by adding an option to the action) to get those system libraries to also be cached? As far as I know, these generated system libraries only depend on the emcc version, so caching everything together should be safe.

Hardcoded cache key prevents multiple workflows or jobs from caching emsdk

The cache key for the GitHub Actions cache of emsdk is hardcoded:

const cacheKey = `${emArgs.version}-${os.arch()}-master`;

This prevents multiple CI jobs or workflows from using this action and caching the results.

Can this key include the workflow name and job? Alternatively, can overriding it be exposed as an action parameter?

The code samples in the README seem to indicate that users should use actions/cache on their own. Why does this action also invoke @actions/cache?

Installing emsdk fails on Windows with message "Unable to locate executable file: cp"

I get the following log message


2021-04-30T11:04:23.7960455Z ##[group]Run mymindstorm/setup-emsdk@v7
2021-04-30T11:04:23.7961046Z with:
2021-04-30T11:04:23.7961379Z   version: 1.39.19
2021-04-30T11:04:23.7961875Z   actions-cache-folder: emsdk-cache
2021-04-30T11:04:23.7962372Z   no-install: false
2021-04-30T11:04:23.7962753Z   no-cache: false
2021-04-30T11:04:23.7963130Z   update-tags: false
2021-04-30T11:04:23.7963517Z ##[endgroup]
2021-04-30T11:04:24.3154151Z ##[warning]No cached files found at path "D:\a\tcjs\tcjs/emsdk-cache" - downloading and caching emsdk.
2021-04-30T11:04:24.4354382Z [command]"C:\Program Files\Git\usr\bin\rm.exe" -rf D:\a\tcjs\tcjs/emsdk-cache
2021-04-30T11:04:24.9649500Z [command]C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; [System.IO.Compression.ZipFile]::ExtractToDirectory('D:\a\_temp\54d30ee7-dc05-4e2b-9d1c-95ee65f8d270', 'D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09')"
2021-04-30T11:04:25.9449138Z [command]C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\emsdk.ps1 update-tags
2021-04-30T11:04:28.5909376Z `update-tags` is not longer needed.  To install the latest tot release just run `install tot`
2021-04-30T11:04:28.7020483Z [command]C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\emsdk.ps1 install 1.39.19
2021-04-30T11:04:29.7525126Z Installing SDK 'sdk-releases-upstream-665121d026cafc46c29b30d6d4c45ed73eedbb7e-64bit'..
2021-04-30T11:04:29.7526808Z Installing tool 'node-14.15.5-64bit'..
2021-04-30T11:04:29.7528385Z Downloading: D:/a/_temp/e1951493-2db5-4cba-80e0-ee68e85a3b09/emsdk-master/zips/node-v14.15.5-win-x64.zip from https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/node-v14.15.5-win-x64.zip, 30284821 Bytes
2021-04-30T11:04:30.0043575Z  [----------------------------------------------------------------------------]
2021-04-30T11:04:34.7186372Z Unpacking 'D:/a/_temp/e1951493-2db5-4cba-80e0-ee68e85a3b09/emsdk-master/zips/node-v14.15.5-win-x64.zip' to 'D:/a/_temp/e1951493-2db5-4cba-80e0-ee68e85a3b09/emsdk-master/node/14.15.5_64bit'
2021-04-30T11:04:34.7188020Z Done installing tool 'node-14.15.5-64bit'.
2021-04-30T11:04:34.7188699Z Installing tool 'python-3.9.2-1-64bit'..
2021-04-30T11:04:34.7191099Z Downloading: D:/a/_temp/e1951493-2db5-4cba-80e0-ee68e85a3b09/emsdk-master/zips/python-3.9.2-1-embed-amd64+pywin32.zip from https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/python-3.9.2-1-embed-amd64+pywin32.zip, 16982397 Bytes
2021-04-30T11:04:34.8756790Z  [----------------------------------------------------------------------------]
2021-04-30T11:04:35.8094560Z Unpacking 'D:/a/_temp/e1951493-2db5-4cba-80e0-ee68e85a3b09/emsdk-master/zips/python-3.9.2-1-embed-amd64+pywin32.zip' to 'D:/a/_temp/e1951493-2db5-4cba-80e0-ee68e85a3b09/emsdk-master/python/3.9.2-1_64bit'
2021-04-30T11:04:35.8096309Z Done installing tool 'python-3.9.2-1-64bit'.
2021-04-30T11:04:35.8099493Z Installing tool 'java-8.152-64bit'..
2021-04-30T11:04:35.8101154Z Downloading: D:/a/_temp/e1951493-2db5-4cba-80e0-ee68e85a3b09/emsdk-master/zips/portable_jre_8_update_152_64bit.zip from https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/portable_jre_8_update_152_64bit.zip, 69241499 Bytes
2021-04-30T11:04:36.6237367Z  [----------------------------------------------------------------------------]
2021-04-30T11:04:38.6550200Z Unpacking 'D:/a/_temp/e1951493-2db5-4cba-80e0-ee68e85a3b09/emsdk-master/zips/portable_jre_8_update_152_64bit.zip' to 'D:/a/_temp/e1951493-2db5-4cba-80e0-ee68e85a3b09/emsdk-master/java/8.152_64bit'
2021-04-30T11:04:38.6551574Z Done installing tool 'java-8.152-64bit'.
2021-04-30T11:04:38.6552807Z Installing tool 'releases-upstream-665121d026cafc46c29b30d6d4c45ed73eedbb7e-64bit'..
2021-04-30T11:04:38.6556878Z Downloading: D:/a/_temp/e1951493-2db5-4cba-80e0-ee68e85a3b09/emsdk-master/zips/665121d026cafc46c29b30d6d4c45ed73eedbb7e-wasm-binaries.zip from https://storage.googleapis.com/webassembly/emscripten-releases-builds/win/665121d026cafc46c29b30d6d4c45ed73eedbb7e/wasm-binaries.zip, 548130212 Bytes
2021-04-30T11:04:42.2617023Z  [----------------------------------------------------------------------------]
2021-04-30T11:05:12.1186059Z Unpacking 'D:/a/_temp/e1951493-2db5-4cba-80e0-ee68e85a3b09/emsdk-master/zips/665121d026cafc46c29b30d6d4c45ed73eedbb7e-wasm-binaries.zip' to 'D:/a/_temp/e1951493-2db5-4cba-80e0-ee68e85a3b09/emsdk-master/upstream'
2021-04-30T11:05:12.1188914Z Done installing tool 'releases-upstream-665121d026cafc46c29b30d6d4c45ed73eedbb7e-64bit'.
2021-04-30T11:05:12.1190473Z Running post-install step: npm ci ...
2021-04-30T11:05:12.1191504Z Running post-install step: npm install google-closure-compiler-windows
2021-04-30T11:05:12.1192423Z Done running: npm ci
2021-04-30T11:05:12.1195303Z Done installing SDK 'sdk-releases-upstream-665121d026cafc46c29b30d6d4c45ed73eedbb7e-64bit'.
2021-04-30T11:05:12.2139857Z [command]C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\emsdk.ps1 activate 1.39.19
2021-04-30T11:05:13.8174079Z Adding directories to PATH:
2021-04-30T11:05:13.8175753Z PATH += D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master
2021-04-30T11:05:13.8176950Z PATH += D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\node\14.15.5_64bit\bin
2021-04-30T11:05:13.8178181Z PATH += D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\upstream\emscripten
2021-04-30T11:05:13.8179017Z 
2021-04-30T11:05:13.8192667Z Setting environment variables:
2021-04-30T11:05:13.8205632Z PATH = D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master;D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\node\14.15.5_64bit\bin;D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\upstream\emscripten;C:\Users\runneradmin\.dotnet\tools;C:\Program Files\MongoDB\Server\4.4\bin;C:\aliyun-cli;C:\vcpkg;C:\cf-cli;C:\Program Files (x86)\NSIS\;C:\tools\zstd;C:\Program Files\Mercurial\;C:\hostedtoolcache\windows\stack\2.5.1\x64;C:\tools\ghc-9.0.1\bin;C:\Program Files\dotnet;C:\mysql-5.7.21-winx64\bin;C:\Program Files\R\R-4.0.5\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\Program Files (x86)\sbt\bin;C:\Rust\.cargo\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\hostedtoolcache\windows\go\1.15.11\x64\bin;C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts;C:\hostedtoolcache\windows\Python\3.7.9\x64;C:\hostedtoolcache\windows\Ruby\2.5.9\x64\bin;C:\hostedtoolcache\windows\Java_Adopt_jdk\8.0.292-10\x64\bin;C:\npm\prefix;C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI;C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI\;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\Chocolatey\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Docker;C:\Program Files\PowerShell\7\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\OpenSSL\bin;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;c:\tools\php;C:\Program Files\TortoiseSVN\bin;C:\SeleniumWebDrivers\ChromeDriver\;C:\SeleniumWebDrivers\EdgeDriver\;C:\Program Files\CMake\bin;C:\Program Files\Amazon\AWSCLIV2\;C:\Program Files\Amazon\SessionManagerPlugin\bin\;C:\Program Files\Amazon\AWSSAMCLI\bin\;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files (x86)\Microsoft BizTalk Server\;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps
2021-04-30T11:05:13.8216387Z EMSDK = D:/a/_temp/e1951493-2db5-4cba-80e0-ee68e85a3b09/emsdk-master
2021-04-30T11:05:13.8217600Z EM_CONFIG = D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\.emscripten
2021-04-30T11:05:13.8218707Z EMSDK_NODE = D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\node\14.15.5_64bit\bin\node.exe
2021-04-30T11:05:13.8219910Z EMSDK_PYTHON = D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\python\3.9.2-1_64bit\python.exe
2021-04-30T11:05:13.8221021Z JAVA_HOME = D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\java\8.152_64bit
2021-04-30T11:05:13.8222718Z The changes made to environment variables only apply to the currently running shell instance. Use the 'emsdk_env.bat' to re-enter this environment later, or if you'd like to permanently register this environment permanently, rerun this command with the option --permanent.
2021-04-30T11:05:13.8224168Z Setting the following tools as active:
2021-04-30T11:05:13.8224844Z    node-14.15.5-64bit
2021-04-30T11:05:13.8225369Z    python-3.9.2-1-64bit
2021-04-30T11:05:13.8225906Z    java-8.152-64bit
2021-04-30T11:05:13.8227075Z    releases-upstream-665121d026cafc46c29b30d6d4c45ed73eedbb7e-64bit
2021-04-30T11:05:13.8228048Z 
2021-04-30T11:05:13.9139022Z [command]C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\emsdk.ps1 construct_env
2021-04-30T11:05:15.5242219Z Adding directories to PATH:
2021-04-30T11:05:15.5243363Z PATH += D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master
2021-04-30T11:05:15.5244576Z PATH += D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\upstream\emscripten
2021-04-30T11:05:15.5253741Z PATH += D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\node\14.15.5_64bit\bin
2021-04-30T11:05:15.5254563Z 
2021-04-30T11:05:15.5255344Z Setting environment variables:
2021-04-30T11:05:15.5266960Z PATH = D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master;D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\upstream\emscripten;D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\node\14.15.5_64bit\bin;C:\Users\runneradmin\.dotnet\tools;C:\Program Files\MongoDB\Server\4.4\bin;C:\aliyun-cli;C:\vcpkg;C:\cf-cli;C:\Program Files (x86)\NSIS\;C:\tools\zstd;C:\Program Files\Mercurial\;C:\hostedtoolcache\windows\stack\2.5.1\x64;C:\tools\ghc-9.0.1\bin;C:\Program Files\dotnet;C:\mysql-5.7.21-winx64\bin;C:\Program Files\R\R-4.0.5\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\Program Files (x86)\sbt\bin;C:\Rust\.cargo\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\hostedtoolcache\windows\go\1.15.11\x64\bin;C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts;C:\hostedtoolcache\windows\Python\3.7.9\x64;C:\hostedtoolcache\windows\Ruby\2.5.9\x64\bin;C:\hostedtoolcache\windows\Java_Adopt_jdk\8.0.292-10\x64\bin;C:\npm\prefix;C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI;C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI\;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\Chocolatey\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Docker;C:\Program Files\PowerShell\7\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\OpenSSL\bin;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;c:\tools\php;C:\Program Files\TortoiseSVN\bin;C:\SeleniumWebDrivers\ChromeDriver\;C:\SeleniumWebDrivers\EdgeDriver\;C:\Program Files\CMake\bin;C:\Program Files\Amazon\AWSCLIV2\;C:\Program Files\Amazon\SessionManagerPlugin\bin\;C:\Program Files\Amazon\AWSSAMCLI\bin\;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files (x86)\Microsoft BizTalk Server\;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps
2021-04-30T11:05:15.5278540Z EMSDK = D:/a/_temp/e1951493-2db5-4cba-80e0-ee68e85a3b09/emsdk-master
2021-04-30T11:05:15.5279658Z EM_CONFIG = D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\.emscripten
2021-04-30T11:05:15.5280846Z EMSDK_NODE = D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\node\14.15.5_64bit\bin\node.exe
2021-04-30T11:05:15.5282119Z EMSDK_PYTHON = D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\python\3.9.2-1_64bit\python.exe
2021-04-30T11:05:15.5283320Z JAVA_HOME = D:\a\_temp\e1951493-2db5-4cba-80e0-ee68e85a3b09\emsdk-master\java\8.152_64bit
2021-04-30T11:05:15.5729754Z ##[error]Unable to locate executable file: cp. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.

Any idea what is going wrong?

Trouble with {Github workflow name} in new cache key naming scheme

Hello!

I just started using v14 and like to report troubles with the new cache key naming scheme: The name of my workflow contains commas and this causes a Key Validation Error.

Workflow file: https://github.com/IUPAC-InChI/InChI-Web-Demo/blob/7260c1b91575d4dc0254dbdc4e0e0fffd7d466cb/.github/workflows/ci.yml
CI run: https://github.com/IUPAC-InChI/InChI-Web-Demo/actions/runs/7875487308/job/21487467227

This looks quite similar to gradle/gradle-build-action#756.

Edit: The log of the CI run may suddenly disappear. The error is Error: Key Validation Error: Test WASM build, prepare web application and deploy to GitHub Pages-3.1.43-linux-x64 cannot contain commas.

setup-emsdk can't find recent SDK's

Hi!

I've tried specifying recent Emscripten versions such as 2.0.21 or 2.0.24, both lead to emsdk printing No tool or SDK found by name '2.0.24':

    steps:
      - name: Setup Emscripten
        uses: mymindstorm/setup-emsdk@v9
        with:
          version: 2.0.24

Any idea what am I missing?

"Tip of tree" (tot) version doesn't work

When one wants to try the latest unpublished version of emscripten, emsdk lets you do :

emsdk install tot

But using tot as the version in this action leads to :

Tip-of-tree information was not found, run emsdk update-tags

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.