mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-08 23:10:52 -04:00
Merge pull request #1364 from shinovon/symbian_workflow
Symbian build workflow
This commit is contained in:
commit
62fd4e15ec
54
.github/workflows/build_symbian.yml
vendored
Normal file
54
.github/workflows/build_symbian.yml
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
name: Build latest (Symbian)
|
||||
# trigger via either push to selected branches or on manual run
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
- ModernLighting
|
||||
- AngledLighting
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.ref }}-symbian
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Download Symbian SDK
|
||||
run: Invoke-WebRequest https://nnp.nnchan.ru/dl/symbiansr1_gcce_workflow.zip -OutFile symbiansdk.zip
|
||||
- name: Extract Symbian SDK
|
||||
run: Expand-Archive symbiansdk.zip -DestinationPath .
|
||||
- name: Compile Symbian build
|
||||
id: compile
|
||||
run: |
|
||||
$SDK = "$pwd/SDK/"
|
||||
$Env:EPOCROOT = "$SDK".Substring(2)
|
||||
$Env:SBS_GCCE441BIN = "$pwd/GCCE/bin"
|
||||
cmd /c "$SDK/epoc32/tools/sbs\bin\sbs.bat -b misc/symbian/bld.inf -c armv5_urel_gcce -f - -m $SDK/epoc32/build/ClassiCube/makefile -j 4"
|
||||
|
||||
cd misc/symbian
|
||||
(Get-Content ClassiCube.pkg).Replace('$(EPOCROOT)', "$SDK").Replace('$(PLATFORM)', 'armv5').Replace('$(TARGET)', 'urel') | Set-Content ClassiCube.pkg
|
||||
cmd /c "$SDK/epoc32/tools/makesis.exe ClassiCube.pkg ClassiCube.sis"
|
||||
|
||||
- uses: ./.github/actions/upload_build
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
SOURCE_FILE: 'misc/symbian/ClassiCube.sis'
|
||||
DEST_NAME: 'ClassiCube-Symbian.sis'
|
||||
|
||||
- uses: ./.github/actions/notify_failure
|
||||
if: ${{ always() && steps.compile.outcome == 'failure' }}
|
||||
with:
|
||||
NOTIFY_MESSAGE: 'Failed to compile Symbian build'
|
||||
WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}'
|
||||
|
||||
|
||||
- uses: ./.github/actions/notify_success
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
DESTINATION_URL: '${{ secrets.NOTIFY_URL }}'
|
||||
WORKFLOW_NAME: 'symbian'
|
@ -35,8 +35,6 @@ LIBRARY libpthread.lib
|
||||
|
||||
STATICLIBRARY libcrt0.lib
|
||||
|
||||
OPTION GCCE -O2 -std=c99
|
||||
|
||||
OPTION ARMCC -Otime --diag_suppress 1296 --diag_suppress 1293 --diag_suppress 66
|
||||
OPTION_REPLACE ARMCC --cpu 6
|
||||
OPTION_REPLACE ARMCC --fpu softvfp+vfpv2 --fpmode fast
|
||||
|
Loading…
x
Reference in New Issue
Block a user