feat(ci): update to android 24 #9
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
on: | |
push: | |
paths-ignore: | |
- '**/*.md' | |
branches: | |
- feat/ci | |
pull_request: | |
branches: | |
- feat/ci | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
buildLinux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Native Linux | |
run: make all | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: Dist/ | |
name: linux-dist | |
retention-days: 1 | |
- uses: nttld/setup-ndk@v1 | |
with: | |
ndk-version: r25c | |
env: | |
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} | |
- name: Build Arm/Android | |
run: | | |
ndk-build | |
tree | |
buildWindows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup MSBuild | |
uses: microsoft/[email protected] | |
- name: Build Solution | |
run: | | |
msbuild.exe FreeImage.2017.vcxproj /p:Configuration=Release /p:Platform=x64 | |
msbuild.exe FreeImage.2017.vcxproj /p:Configuration=Release /p:Platform=Win32 | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: Dist/x32 | |
name: win32-dist | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: Dist/x64 | |
name: win64-dist |