Update Irrlicht (#5) #39
This file contains 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: Build and Deploy | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install deps | |
run: ./ci_install.sh | |
- name: "Build → armeabi-v7a" | |
run: | | |
. env.sh | |
./build.sh --all armeabi-v7a | |
- name: "Build → arm64-v8a" | |
run: | | |
. env.sh | |
./build.sh --all arm64-v8a | |
- name: "Build → x86" | |
run: | | |
. env.sh | |
./build.sh --all x86 | |
- name: "Build → x86_64" | |
run: | | |
. env.sh | |
./build.sh --all x86_64 | |
- name: Archive (with Irrlicht) | |
run: | | |
shopt -s extglob | |
cd deps && zip -9r ../deps.zip -- */!(PNG|JPEG) | |
ls -lh ../deps.zip | |
- name: Archive (without Irrlicht) | |
run: | | |
shopt -s extglob | |
cd deps && zip -9r ../deps-lite.zip -- */!(Irrlicht) | |
ls -lh ../deps-lite.zip | |
- name: Upload and tag | |
uses: pyTooling/Actions/releaser@main | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
tag: 'latest' | |
files: | | |
deps.zip | |
deps-lite.zip | |
if: github.event_name == 'push' && github.ref == 'refs/heads/master' |