2021-10-10 01:08:29 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
linux-build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: "!contains(github.event.head_commit.message, 'ci-skip')"
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install dependencies
|
|
|
|
run: sudo apt update && sudo apt install libglu1-mesa-dev libncurses-dev
|
|
|
|
- name: Bootstrap compiler
|
|
|
|
run: .ci/bootstrap.sh lnx
|
|
|
|
- name: Compile
|
|
|
|
run: .ci/compile.sh
|
|
|
|
- name: Publish to S3
|
|
|
|
if: github.event_name == 'push'
|
|
|
|
run: .ci/deploy.sh lnx
|
2021-12-11 12:48:35 +00:00
|
|
|
env:
|
|
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
2021-12-11 12:59:03 +00:00
|
|
|
AWS_REGION: us-east-2
|
2021-10-10 01:08:29 +00:00
|
|
|
|
|
|
|
macos-build:
|
|
|
|
runs-on: macos-latest
|
|
|
|
if: "!contains(github.event.head_commit.message, 'ci-skip')"
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Bootstrap compiler
|
|
|
|
run: .ci/bootstrap.sh osx
|
|
|
|
- name: Compile
|
|
|
|
run: .ci/compile.sh
|
|
|
|
- name: Publish to S3
|
|
|
|
if: github.event_name == 'push'
|
|
|
|
run: .ci/deploy.sh osx
|
2021-12-11 12:48:35 +00:00
|
|
|
env:
|
|
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
2021-12-11 12:59:03 +00:00
|
|
|
AWS_REGION: us-east-2
|
2021-10-10 01:08:29 +00:00
|
|
|
|
|
|
|
windows-x86-build:
|
|
|
|
runs-on: windows-latest
|
|
|
|
if: "!contains(github.event.head_commit.message, 'ci-skip')"
|
|
|
|
env:
|
|
|
|
PLATFORM: x86
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Bootstrap compiler
|
|
|
|
run: .ci/bootstrap.bat
|
|
|
|
- name: Compile
|
|
|
|
run: .ci/compile.bat
|
|
|
|
- name: Publish to S3
|
|
|
|
if: github.event_name == 'push'
|
|
|
|
run: .ci/deploy.ps1
|
2021-12-11 12:48:35 +00:00
|
|
|
env:
|
|
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
2021-12-11 12:59:03 +00:00
|
|
|
AWS_REGION: us-east-2
|
2021-10-10 01:08:29 +00:00
|
|
|
|
|
|
|
windows-x64-build:
|
|
|
|
runs-on: windows-latest
|
|
|
|
if: "!contains(github.event.head_commit.message, 'ci-skip')"
|
|
|
|
env:
|
|
|
|
PLATFORM: x64
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Bootstrap compiler
|
|
|
|
run: .ci/bootstrap.bat
|
|
|
|
- name: Compile
|
|
|
|
run: .ci/compile.bat
|
|
|
|
- name: Publish to S3
|
|
|
|
if: github.event_name == 'push'
|
|
|
|
run: .ci/deploy.ps1
|
2021-12-11 12:48:35 +00:00
|
|
|
env:
|
|
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
2021-12-11 12:59:03 +00:00
|
|
|
AWS_REGION: us-east-2
|
2021-10-10 01:08:29 +00:00
|
|
|
|