Skip to content

CI

CI #2

Workflow file for this run

name: CI
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]
push:
branches: main
pull_request:
branches: main
jobs:
build:
runs-on: ubuntu-24.04
env:
CONTAINER_PATH: /tmp/fs
steps:
- uses: actions/[email protected]
- name: Display CI properties
run: |
WD=$(pwd)
python3 -V
echo $WD
clang --version | head -n 1
echo
gcc --version | head -n 1
echo "Github env:"
env|grep GITHUB
echo "Android support:"
env|grep ANDROID
echo "Node :"
node -v
- name: Build sdk
run: |
./proot.sh
- name: Upload sdk to Github Releases
if: github.event_name == 'release'
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /tmp/fs/tmp/sdk/*.tar.lz4
file_glob: true
tag: ${{ github.ref }}