Testing prerelease
This commit is contained in:
parent
0157c765e8
commit
9a317b52f4
3 changed files with 61 additions and 0 deletions
60
.github/workflows/prerelease.yml
vendored
Normal file
60
.github/workflows/prerelease.yml
vendored
Normal file
|
@ -0,0 +1,60 @@
|
|||
name: Prerelease
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
|
||||
jobs:
|
||||
build-linux-amd64:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build linux-amd64
|
||||
env:
|
||||
SSH_KEY: ${{ secrets.SSH_KEY }}
|
||||
run: |
|
||||
scripts/build-ubuntu-amd64.sh install -T release --prefix ./gamedata/css_enhanced/game
|
||||
zip -r CSS_Enhanced_Linux_Development_Release.zip ./gamedata/css_enhanced/game/*
|
||||
echo "$SSH_KEY" >> ~/.ssh/authorized_keys
|
||||
scp CSS_Enhanced_Linux_Development_Release.zip root@cssserv.xutaxkamay.com:/var/www/html
|
||||
|
||||
build-android-armv7a:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build android-armv7a
|
||||
run: |
|
||||
scripts/build-android-armv7a.sh install -T release --prefix ./gamedata/css_enhanced/game
|
||||
zip -r CSS_Enhanced_Android_Development_Release.zip ./gamedata/css_enhanced/game/*
|
||||
New-Item -Path "$env:USERPROFILE" -Name ".ssh" -Type Directory
|
||||
$SSH_KEY | Out-File "$env:USERPROFILE/.ssh/authorized_keys"
|
||||
scp CSS_Enhanced_Android_Development_Release.zip root@cssserv.xutaxkamay.com:/var/www/html
|
||||
|
||||
build-windows-amd64:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build windows-amd64
|
||||
run: |
|
||||
git submodule init && git submodule update
|
||||
./waf.bat configure -T release --prefix ./gamedata/css_enhanced/game
|
||||
./waf.bat build install
|
||||
Compress-Archive -Path ./gamedata/css_enhanced/game/* -DestinationPath CSS_Enhanced_Windows_Development_Release.zip
|
||||
scp CSS_Enhanced_Linux_Development_Release.zip root@cssserv.xutaxkamay.com:/var/www/html
|
||||
|
||||
build-macos-amd64:
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build macos-amd64
|
||||
run: |
|
||||
scripts/build-macos-amd64.sh install -T release --prefix ./gamedata/css_enhanced/game
|
||||
zip -r CSS_Enhanced_MacOS_Development_Release.zip ./gamedata/css_enhanced/game/*
|
||||
echo "$SSH_KEY" >> ~/.ssh/authorized_keys
|
||||
scp CSS_Enhanced_MacOS_Development_Release.zip root@cssserv.xutaxkamay.com:/var/www/html
|
||||
|
|
@ -4,6 +4,7 @@ git submodule init && git submodule update
|
|||
|
||||
brew install sdl2
|
||||
brew install zstd
|
||||
brew install zip
|
||||
|
||||
./waf configure -T debug --disable-warns $* &&
|
||||
./waf build
|
||||
|
|
Loading…
Reference in a new issue