Skip to content

Enable building of the application for each chapter. #6

Enable building of the application for each chapter.

Enable building of the application for each chapter. #6

Workflow file for this run

name: 'Build Site'
# on:
# pull_request:
# branches: [ "main" ]
# tags:
# - "v*.*.*"
# workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build Android Chapter 1 OpenGLES
run: |
echo "Building Android Chapter 1 ${{github.ref_name}}"
cd Chapter1
export GFX=OPENGL_ES
chmod 755 gradlew
./gradlew assembleDebug
- name: Build Android Chapter 1 Vulkan
run: |
echo "Building Android Chapter 1 ${{github.ref_name}}"
cd Chapter1
export GFX=VULKAN
chmod 755 gradlew
./gradlew assembleDebug
# - name: Upload Release Artifact
# id: upload
# uses: softprops/action-gh-release@v1
# with:
# files: site.tar.gz