-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0157c76
commit 9a317b5
Showing
3 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
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,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 [email protected]:/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 [email protected]:/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 [email protected]:/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 [email protected]:/var/www/html | ||
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