Skip to content

Fix clean builds from scratch #57

Fix clean builds from scratch

Fix clean builds from scratch #57

Workflow file for this run

name: CI checks
on:
push:
branches:
- master
- main
pull_request:
branches:
- '*'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Pandoc
run: |
sudo apt-get update
sudo apt-get install -y pandoc make gcc g++
- name: Set up Python
uses: actions/[email protected]
with:
python-version: 3.12
- name: Install python packages
run: |
python -m pip install --upgrade pip
pip install pipenv
pip install cython
- name: Checkout code
uses: actions/[email protected]
with:
submodules: true
- name: Set up JDK 18
uses: actions/[email protected]
with:
java-version: '18'
distribution: 'temurin' # Note to self: This IS OpenJDK
- name: Setup Android SDK
uses: android-actions/[email protected]
- name: Check build prerequisites
run: |
bash check-build-prerequisites.sh
- name: Run gradle build
run: |
./gradlew --no-daemon build
- name: Run post-build checks
run: |
bash tools/workflows/check-translations.sh