Add fullscreen toggle and launch options (#397) #977
This file contains hidden or 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
name: Check | |
on: | |
push: | |
branches: | |
- main | |
- feat/workflow | |
pull_request: | |
branches: | |
- main | |
jobs: | |
skip: | |
runs-on: ubuntu-latest | |
if: | | |
!contains(format('{0} {1} {2}', github.event.head_commit.message, github.event.pull_request.title, github.event.pull_request.body), 'skip ci') | |
steps: | |
- run: | | |
cat <<'MESSAGE' | |
github.event_name: ${{ toJson(github.event_name) }} | |
github.event: | |
${{ toJson(github.event) }} | |
MESSAGE | |
build: | |
needs: skip | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest] | |
steps: | |
########################################################################################## | |
# Checkout | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
lfs: true | |
########################################################################################## | |
# Setup SDK | |
- name: Checkout Build Tools | |
uses: actions/[email protected] | |
with: | |
repository: flashflashrevolution/rCubed-build-tools | |
path: "tools" | |
lfs: true | |
- name: Extract Air SDK [32.0] | |
if: matrix.os == 'windows-latest' | |
run: 7z.exe x -tzip ${{ github.workspace }}\tools\SDK-Lite.zip -o${{ github.workspace }}\airsdk | |
- name: Install Dependencies (asconfigc) | |
run: npm install asconfigc | |
########################################################################################## | |
# Build SWFs | |
- name: Build Embedded Fonts Library [Windows] | |
if: matrix.os == 'windows-latest' | |
shell: cmd | |
run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project ${{ github.workspace }}/fonts/asconfig.embed-fonts.json --verbose | |
- name: Build the Game [Windows Debug] | |
if: matrix.os == 'windows-latest' | |
shell: cmd | |
run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.json --debug=true --verbose | |
- name: Build the Game [Windows Release] | |
if: matrix.os == 'windows-latest' | |
shell: cmd | |
run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.release.json --debug=false --verbose |