Skip to content

Commit

Permalink
undo build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TokisanGames committed Dec 27, 2024
1 parent 177a39e commit 2a959c9
Showing 1 changed file with 13 additions and 19 deletions.
32 changes: 13 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
- identifier: linux
platform: linux
name: 🐧 Linux
runner: ubuntu-latest
runner: ubuntu-20.04
arch: x86_64

- identifier: windows
platform: windows
name: 🪟 Windows
runner: ubuntu-latest
runner: ubuntu-20.04
arch: x86_64

- identifier: macos
Expand All @@ -44,17 +44,17 @@ jobs:
runner: macos-latest
arch: universal

- identifier: android
- identifier: android-arm64
platform: android
name: 🤖 Android Arm
runner: ubuntu-latest
arch: [arm64, arm32]
name: 🤖 Android Arm64
runner: ubuntu-20.04
arch: arm64

- identifier: web
platform: web
name: 🌐 Web
runner: ubuntu-latest
threads: [yes, no]
- identifier: android-arm32
platform: android
name: 🤖 Android Arm32
runner: ubuntu-20.04
arch: arm32

steps:
- name: Checkout Terrain3D
Expand All @@ -73,10 +73,6 @@ jobs:
ndk-version: r23c
link-to-sdk: true

- name: Setup Web Dependencies
if: ${{ matrix.platform == 'web' }}
uses: ./.github/actions/web-deps

- name: Setup Base Dependencies
uses: ./.github/actions/base-deps

Expand All @@ -88,14 +84,12 @@ jobs:

- name: Build Terrain3D
env:
if: ${{ matrix.platform != 'web' }}
SCONS_CACHE: "${{ github.workspace }}/.scons-cache/"
TARGET: 'template_${{ matrix.target }}'
ARCH: 'arch=${{ matrix.arch }}'
THREADS: 'threads=${{ matrix.threads }}'
ARCH: '${{ matrix.arch }}'
shell: sh
run: |
scons target=$TARGET platform='${{ matrix.platform }}' $ARCH $THREADS debug_symbols=no -j2
scons target=$TARGET platform='${{ matrix.platform }}' arch=$ARCH debug_symbols=no -j2
- name: Strip Libraries (Windows/Linux)
if: ${{ matrix.platform == 'windows' || matrix.platform == 'linux' }}
Expand Down

0 comments on commit 2a959c9

Please sign in to comment.