Skip to content

bartjuw is building libantimonyjs #25

bartjuw is building libantimonyjs

bartjuw is building libantimonyjs #25

name: build-libantimoyjs-github-actions
run-name: ${{ github.actor }} is building libantimonyjs
on: [push]
jobs:
build-new-version-antimonyjs:
runs-on: ubuntu-latest
env:
EMSDK: "$GITHUB_WORKSPACE/emsdk"
EMSDK_NODE: $GITHUB_WORKSPACE/emsdk/node/16.20.0_64bit/bin/node
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '14'
- run: npm install -g bats
- run: bats -v
- name: get emscripten
run: git clone https://github.com/emscripten-core/emsdk.git
- name: list files
run: ls
working-directory: emsdk
- name: change emsdk script permissions
run: chmod +x emsdk
working-directory: emsdk
- name: install emscripten sdk
run: ./emsdk install 3.1.20
working-directory: emsdk
- name: activate emscripten
run: ./emsdk activate 3.1.20
working-directory: emsdk
- run: pwd
- run: echo "$GITHUB_WORKSPACE/emsdk/upstream/emscripten" >> $GITHUB_PATH
- run: echo "$GITHUB_WORKSPACE/emsdk" >> $GITHUB_PATH
- name: set permissions for emsdk_env.sh, not necessary??
run: chmod +x emsdk/emsdk_env.sh
- name: Set up emscripten environment, does not work, remove.
run: ./emsdk_env.sh
working-directory: emsdk
- run: echo $GITHUB_PATH
- name: confirm emscripten works
run: emcc -v
- run: echo $PATH
- run: echo $EMSDK
- run: echo $EMSDK_NODE