CI-arm #17
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI-arm | |
| on: | |
| workflow_dispatch: | |
| release: | |
| # this runs CI only when a release is created at first (and not when it is | |
| # edited or published) | |
| types: [created] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04-arm | |
| env: | |
| CONTAINER_PATH: /tmp/fs | |
| EMFLAVOUR: 3.1.61 | |
| SDKROOT: /tmp/sdk | |
| steps: | |
| - uses: actions/[email protected] | |
| - name: Display CI properties | |
| run: | | |
| WD=$(pwd) | |
| python3 -V | |
| echo $WD | |
| echo | |
| clang --version | head -n 1 | |
| echo | |
| gcc --version | head -n 1 | |
| echo "Node :" | |
| node -v | |
| echo | |
| echo "Github env:" | |
| env|grep GITHUB | |
| sudo apt-get install libtalloc2 lz4 | |
| - name: prepare build env | |
| run: | | |
| git clone https://github.com/pygame-web/python-wasm-sdk | |
| mkdir -p /tmp/dist | |
| - name: Build sdk (debian docker 12) for python 3.13 | |
| run: | | |
| bash docker-run.sh | |
| - name: Upload sdk to Github Releases | |
| if: github.event_name == 'release' | |
| uses: svenstaro/[email protected] | |
| with: | |
| repo_token: ${{ secrets.GITHUB_TOKEN }} | |
| file: /tmp/sdk/dist/*.tar.lz4 | |
| file_glob: true | |
| tag: ${{ github.ref }} | |