Fix clean builds from scratch #51
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: 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 | |
- name: Checkout code | |
uses: actions/[email protected] | |
with: | |
submodules: true | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: 3.12 | |
- name: Install Pipenv | |
run: | | |
python -m pip install --upgrade pip | |
pip install pipenv | |
- 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: Debug print | |
run: \ | |
env | |
- name: Check build prerequisites | |
run: | | |
bash check-build-prerequisites.sh | |
- name: Run make command | |
run: | | |
make -f help.makefile | |
- name: Run check-translations.sh | |
run: | | |
bash tools/workflows/check-translations.sh |