Skip to content

Commit

Permalink
Install mako for python on build machines
Browse files Browse the repository at this point in the history
  • Loading branch information
wangra-google committed Nov 1, 2023
1 parent 8a2f5f4 commit 6b7cd08
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
git branch -a
sudo apt-get update --yes
sudo apt-get install --yes git clang-format-14
sudo apt-get install python3-mako --yes
- name: Run lint script
run: ./scripts/clangformat.sh
Expand All @@ -51,6 +52,10 @@ jobs:
version: 1.10.0
- uses: ilammy/msvc-dev-cmd@v1
- uses: ilammy/setup-nasm@v1
- name: Install dependency
run: |
C:/hostedtoolcache/windows/Python/3.11.6/x64/python3.exe -m pip install mako
C:/hostedtoolcache/windows/Python/3.12.0/x64/python3.exe -m pip install mako
- name: Build the UI
run: |
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug -G "Visual Studio 16 2019" -A x64 ..
Expand All @@ -77,6 +82,10 @@ jobs:
version: 1.10.0
- uses: ilammy/msvc-dev-cmd@v1
- uses: ilammy/setup-nasm@v1
- name: Install dependency
run: |
C:/hostedtoolcache/windows/Python/3.11.6/x64/python3.exe -m pip install mako
C:/hostedtoolcache/windows/Python/3.12.0/x64/python3.exe -m pip install mako
- name: Build the UI
run: |
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 16 2019" -A x64 ..
Expand All @@ -94,8 +103,10 @@ jobs:
uses: jurplel/install-qt-action@v3
- name: Install dependency
run: |
where python
sudo apt-get update --yes
sudo apt-get install --yes cmake gcc-10 clang-14 libsystemd-dev libbsd-dev ninja-build
sudo apt-get install python3-mako --yes
which gcc-10
which clang-14
- name: Prepare Vulkan SDK
Expand All @@ -118,8 +129,10 @@ jobs:
uses: jurplel/install-qt-action@v3
- name: Install dependency
run: |
where python
sudo apt-get update --yes
sudo apt-get install --yes cmake gcc-10 clang-14 libsystemd-dev libbsd-dev ninja-build
sudo apt-get install python3-mako --yes
which gcc-10
which clang-14
- name: Prepare Vulkan SDK
Expand All @@ -142,6 +155,7 @@ jobs:
run: |
sudo apt-get update --yes
sudo apt-get install --yes cmake ninja-build
sudo apt-get install python3-mako --yes
- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
Expand Down

0 comments on commit 6b7cd08

Please sign in to comment.