This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
forked from dxx-rebirth/dxx-rebirth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
overwrite github workflow to match mine old one
Signed-off-by: Markus Rathgeb <[email protected]>
- Loading branch information
Showing
7 changed files
with
558 additions
and
132 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,39 +1,39 @@ | ||
name: Package - Linux | ||
|
||
on: | ||
#push: | ||
# branches: [ master ] | ||
|
||
#pull_request: | ||
# branches: [ master ] | ||
|
||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
package: | ||
name: GCC 13 | ||
runs-on: ubuntu-22.04 | ||
linux: | ||
name: Linux AppImages | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Clone Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Update Package Database | ||
run: sudo apt-get update | ||
|
||
- name: Install Build Dependencies | ||
run: sudo apt install -y gcc-13 g++-13 python3 scons | ||
|
||
- name: Install dxx-rebirth Dependencies | ||
run: sudo apt install -y libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libphysfs-dev libpng-dev | ||
|
||
- name: Configure and Build | ||
run: scons -j`nproc` | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install gcc-10 g++-10 | ||
sudo apt-get install -y scons libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libphysfs-dev | ||
- name: Configure and build | ||
run: scons -j`nproc` opengl=1 sdl2=1 sdlmixer=1 | ||
env: | ||
CC: gcc-13 | ||
CXX: g++-13 | ||
|
||
- name: Install AppImage Requirements | ||
run: sudo apt-get install -y libfuse2 wget curl | ||
|
||
- name: Package | ||
CC: gcc-10 | ||
CXX: g++-10 | ||
|
||
- name: Package AppImage | ||
run: ./contrib/packaging/linux/build_package.sh | ||
|
||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: linux | ||
path: '*.zip' | ||
path: '*.AppImage' |
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 |
---|---|---|
@@ -1,32 +1,37 @@ | ||
name: Package - MacOS | ||
name: Package - macOS | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
#push: | ||
# branches: [ master ] | ||
|
||
jobs: | ||
package: | ||
name: macOS | ||
runs-on: macos-14 | ||
steps: | ||
- name: Clone Repository | ||
uses: actions/checkout@v4 | ||
#pull_request: | ||
# branches: [ master ] | ||
|
||
- name: Install Dependencies | ||
run: brew bundle --verbose | ||
workflow_dispatch: | ||
|
||
- name: Configure and Build | ||
jobs: | ||
macos: | ||
name: macOS Apps | ||
runs-on: macos-12 | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Prepare environment | ||
run: export MACOSX_DEPLOYMENT_TARGET=10.14 | ||
|
||
- name: Install dependencies | ||
run: | | ||
# I do not know why, but readline is not found by pkg-config | ||
# For a idea of a fix see: https://superuser.com/a/1277306 | ||
export PKG_CONFIG_PATH=/usr/local/opt/readline/lib/pkgconfig | ||
# run build | ||
scons -j4 opengl=1 sdl2=1 macos_add_frameworks=0 macos_bundle_libs=1 | ||
brew bundle --verbose | ||
- name: Configure and build | ||
run: scons -j2 opengl=1 sdl2=1 sdlmixer=1 macos_add_frameworks=0 macos_bundle_libs=1 | ||
|
||
- name: Package | ||
run: ./contrib/packaging/macos/build_package.sh | ||
|
||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: macos | ||
path: '*.zip' | ||
path: '*.zip' |
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
Oops, something went wrong.