mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-04-09 22:20:58 +00:00
Update Build Scripts
This commit is contained in:
parent
1514e0327e
commit
bd318d855f
35
.github/workflows/build-android.yml
vendored
Normal file
35
.github/workflows/build-android.yml
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
name: android-build
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-apk-for-android:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Cloning modlaucher repo and preparing for building
|
||||
run: |
|
||||
git clone https://github.com/ItzVladik/srceng-mod-launcher
|
||||
sudo apt-get update
|
||||
sudo apt-get install -f -y openjdk-8-jre zip apksigner imagemagick
|
||||
- name: Build Android (32 bit)
|
||||
run: |
|
||||
scripts/build-android-armv7a.sh
|
||||
- name: Build Android (64 bit)
|
||||
run: |
|
||||
chmod +x scripts/build-android-aarch64.sh
|
||||
scripts/build-android-aarch64.sh
|
||||
- name: Build APK
|
||||
run: |
|
||||
chmod +x scripts/build-apk.sh
|
||||
scripts/build-apk.sh
|
||||
- name: Rename APK
|
||||
run: |
|
||||
mv srceng-mod-launcher/build/android/mod-signed.apk mod-release.apk
|
||||
|
||||
- name: 'Upload Artifact'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: mod-apk
|
||||
path: mod-release.apk
|
||||
25
.github/workflows/build.yml
vendored
25
.github/workflows/build.yml
vendored
@ -31,31 +31,6 @@ jobs:
|
||||
name: ubuntu-amd64
|
||||
path: bin
|
||||
|
||||
build-apk-for-android:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build Android (32 bit)
|
||||
run: |
|
||||
scripts/build-android-armv7a.sh
|
||||
- name: Build Android (64 bit)
|
||||
run: |
|
||||
chmod +x scripts/build-android-aarch64.sh
|
||||
scripts/build-android-aarch64.sh
|
||||
- name: Build APK
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -f -y openjdk-8-jre zip apksigner imagemagick
|
||||
chmod +x scripts/build-apk.sh
|
||||
scripts/build-apk.sh
|
||||
|
||||
- name: 'Upload Artifact'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: base-apk
|
||||
path: apk-engine/build/android/base-signed.apk
|
||||
|
||||
build-windows-i386:
|
||||
runs-on: windows-latest
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user