Comment out wasm builds for now
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
010b8fe6fd
commit
ac71bffae7
1 changed files with 64 additions and 67 deletions
131
.github/workflows/build.yml
vendored
131
.github/workflows/build.yml
vendored
|
@ -686,73 +686,70 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
*.tar.gz
|
*.tar.gz
|
||||||
|
|
||||||
wasm:
|
#wasm:
|
||||||
runs-on: ubuntu-20.04
|
#runs-on: ubuntu-20.04
|
||||||
steps:
|
#steps:
|
||||||
- uses: actions/checkout@v2
|
#- uses: actions/checkout@v2
|
||||||
with:
|
#with:
|
||||||
submodules: recursive
|
#submodules: recursive
|
||||||
- name: Set up cache
|
#- name: Set up cache
|
||||||
id: cache
|
#id: cache
|
||||||
uses: actions/cache@v2
|
#uses: actions/cache@v2
|
||||||
with:
|
#with:
|
||||||
path: |
|
#path: |
|
||||||
~/PawPawBuilds
|
#~/PawPawBuilds
|
||||||
src/Rack/dep/bin
|
#src/Rack/dep/bin
|
||||||
src/Rack/dep/include
|
#src/Rack/dep/include
|
||||||
src/Rack/dep/lib
|
#src/Rack/dep/lib
|
||||||
src/Rack/dep/share
|
#src/Rack/dep/share
|
||||||
src/Rack/dep/jansson-2.12
|
#src/Rack/dep/jansson-2.12
|
||||||
src/Rack/dep/libarchive-3.4.3
|
#src/Rack/dep/libarchive-3.4.3
|
||||||
src/Rack/dep/libsamplerate-0.1.9
|
#src/Rack/dep/libsamplerate-0.1.9
|
||||||
src/Rack/dep/speexdsp-SpeexDSP-1.2rc3
|
#src/Rack/dep/speexdsp-SpeexDSP-1.2rc3
|
||||||
src/Rack/dep/zstd-1.4.5
|
#src/Rack/dep/zstd-1.4.5
|
||||||
key: wasm-v${{ env.CACHE_VERSION }}
|
#key: wasm-v${{ env.CACHE_VERSION }}
|
||||||
- name: Set up dependencies
|
#- name: Set up dependencies
|
||||||
run: |
|
#run: |
|
||||||
[ -e ~/PawPawBuilds/emsdk ] || git clone https://github.com/emscripten-core/emsdk.git ~/PawPawBuilds/emsdk
|
#[ -e ~/PawPawBuilds/emsdk ] || git clone https://github.com/emscripten-core/emsdk.git ~/PawPawBuilds/emsdk
|
||||||
cd ~/PawPawBuilds/emsdk && ./emsdk install latest && ./emsdk activate latest
|
#cd ~/PawPawBuilds/emsdk && ./emsdk install latest && ./emsdk activate latest
|
||||||
- name: Build extra dependencies
|
#- name: Build extra dependencies
|
||||||
run: |
|
#run: |
|
||||||
source ~/PawPawBuilds/emsdk/emsdk_env.sh
|
#source ~/PawPawBuilds/emsdk/emsdk_env.sh
|
||||||
./deps/PawPaw/bootstrap-cardinal.sh wasm && ./deps/PawPaw/.cleanup.sh wasm
|
#./deps/PawPaw/bootstrap-cardinal.sh wasm && ./deps/PawPaw/.cleanup.sh wasm
|
||||||
- name: Build wasm cross-compiled
|
#- name: Build wasm cross-compiled
|
||||||
run: |
|
#run: |
|
||||||
source ~/PawPawBuilds/emsdk/emsdk_env.sh
|
#source ~/PawPawBuilds/emsdk/emsdk_env.sh
|
||||||
pushd deps/PawPaw; source local.env wasm; popd
|
#pushd deps/PawPaw; source local.env wasm; popd
|
||||||
make features
|
#make features
|
||||||
# multiple jobs for building carla, deps and plugins
|
#make CIBUILD=true NOOPT=true USE_GLES2=true -j $(nproc)
|
||||||
make CIBUILD=true NOOPT=true USE_GLES2=true carla deps dgl plugins resources -j $(nproc)
|
#- name: Set sha8 (non-release)
|
||||||
# single job for final build stage, otherwise we might killed due to OOM
|
#if: startsWith(github.ref, 'refs/tags/') != true
|
||||||
make CIBUILD=true NOOPT=true USE_GLES2=true -j 1
|
#id: slug1
|
||||||
- name: Set sha8 (non-release)
|
#run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
|
||||||
if: startsWith(github.ref, 'refs/tags/') != true
|
#- name: Set sha8 (release)
|
||||||
id: slug1
|
#if: startsWith(github.ref, 'refs/tags/')
|
||||||
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
|
#id: slug2
|
||||||
- name: Set sha8 (release)
|
#run: echo "::set-output name=sha8::$(echo ${{ github.ref_name }})"
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
#- name: Set sha8
|
||||||
id: slug2
|
#id: slug
|
||||||
run: echo "::set-output name=sha8::$(echo ${{ github.ref_name }})"
|
#run: echo "::set-output name=sha8::$(echo ${{ steps.slug1.outputs.sha8 || steps.slug2.outputs.sha8 }})"
|
||||||
- name: Set sha8
|
#- name: Pack binaries
|
||||||
id: slug
|
#run: |
|
||||||
run: echo "::set-output name=sha8::$(echo ${{ steps.slug1.outputs.sha8 || steps.slug2.outputs.sha8 }})"
|
#cd bin; zip -r -9 ../${{ github.event.repository.name }}-wasm-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.zip $(ls *.html *.data *.js *.wasm)
|
||||||
- name: Pack binaries
|
#- uses: actions/upload-artifact@v2
|
||||||
run: |
|
#with:
|
||||||
cd bin; zip -r -9 ../${{ github.event.repository.name }}-wasm-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.zip $(ls *.html *.data *.js *.wasm)
|
#name: ${{ github.event.repository.name }}-wasm-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
|
||||||
- uses: actions/upload-artifact@v2
|
#path: |
|
||||||
with:
|
#*.zip
|
||||||
name: ${{ github.event.repository.name }}-wasm-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
|
#- uses: softprops/action-gh-release@v1
|
||||||
path: |
|
#if: startsWith(github.ref, 'refs/tags/')
|
||||||
*.zip
|
#with:
|
||||||
- uses: softprops/action-gh-release@v1
|
#tag_name: ${{ github.ref_name }}
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
#name: ${{ github.ref_name }}
|
||||||
with:
|
#draft: false
|
||||||
tag_name: ${{ github.ref_name }}
|
#prerelease: false
|
||||||
name: ${{ github.ref_name }}
|
#files: |
|
||||||
draft: false
|
#*.zip
|
||||||
prerelease: false
|
|
||||||
files: |
|
|
||||||
*.zip
|
|
||||||
|
|
||||||
wasm-mini:
|
wasm-mini:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue