-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #178 from carstene1ns/add-freeimage
Add freeimage and workflow
- Loading branch information
Showing
9 changed files
with
101 additions
and
18 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Stable Compilation | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
inputs: | ||
git-ref: | ||
description: Git Ref (Optional) | ||
required: false | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
docker: | ||
name: ${{ matrix.image }} | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ${{ matrix.image }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
image: | ||
# version of: # gcc/g++ | support end # | ||
# -------------------------------------------- | ||
- ubuntu:22.04 # 11.2.0 | LTS (6/27) # | ||
- debian:12 # 12.2.0 | stable (6/26) # | ||
|
||
steps: | ||
- name: Install dependencies | ||
run: | | ||
export DEBIAN_FRONTEND="noninteractive" | ||
apt-get update | ||
apt-get install -yqq --no-install-recommends --no-install-suggests \ | ||
ca-certificates build-essential cmake ninja-build meson git \ | ||
autoconf autoconf-archive automake autotools-dev libtool \ | ||
sed gawk patch perl pkg-config curl unzip libpulse-dev | ||
- name: Clone Repository | ||
uses: actions/checkout@v4 | ||
if: github.event.inputs.git-ref == '' | ||
- name: Clone Repository (with custom ref) | ||
uses: actions/checkout@v4 | ||
if: github.event.inputs.git-ref != '' | ||
with: | ||
ref: ${{ github.event.inputs.git-ref }} | ||
|
||
- name: Download | ||
run: | | ||
cd linux-static | ||
./1_download_library.sh | ||
- name: Build and Install | ||
run: | | ||
cd linux-static | ||
./2_build_toolchain.sh | ||
- name: Cleanup | ||
run: | | ||
cd linux-static | ||
./3_cleanup.sh |
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
:: Builds the dependencies for EasyRPG Tools | ||
|
||
call helper\prepare.cmd | ||
|
||
:: Build 32-bit libraries | ||
:: Using [core] everywhere to prevent surprises when new default-features are | ||
:: added to libraries. | ||
vcpkg install --triplet x86-windows-static --recurse^ | ||
jasper[core] libwebp[core] freeimage[core] | ||
|
||
:: Build 64-bit libraries | ||
vcpkg install --triplet x64-windows-static --recurse^ | ||
jasper[core] libwebp[core] freeimage[core] |