File Network for Boss Downloads #112
Workflow file for this run
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
name: Compile | |
on: | |
pull_request: | |
branches: main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
sm-version: [ '1.11.x', '1.12.x'] | |
steps: | |
- name: Install Checkout | |
uses: actions/checkout@v1 | |
- name: Install Setup SP ${{ matrix.sm-version }} | |
uses: rumblefrog/setup-sp@master | |
with: | |
version: ${{ matrix.sm-version }} | |
- name: Get GitHub Env | |
run: | | |
echo "PLUGIN_VERSION_REVISION<<EOF" >> $GITHUB_ENV | |
git rev-list --count HEAD >> $GITHUB_ENV | |
echo 'EOF' >> $GITHUB_ENV | |
- name: Install Misc | |
run: bash scripts/setup.sh | |
working-directory: ./ | |
- name: Minimum Compile ${{ matrix.sm-version }} | |
run: | | |
spcomp -E -O2 -v2 -i "include" freak_fortress_2.sp | |
spcomp -E -O2 -v2 -i "include" ff2r_default_abilities.sp | |
spcomp -E -O2 -v2 -i "include" ff2r_menu_abilities.sp | |
working-directory: ${{ env.SCRIPTS_PATH }} | |
- name: Install Optional Includes | |
run: bash scripts/optional.sh | |
working-directory: ./ | |
- name: Full Compile ${{ matrix.sm-version }} | |
run: | | |
spcomp -E -O2 -v2 -i "include" freak_fortress_2.sp | |
spcomp -E -O2 -v2 -i "include" ff2r_default_abilities.sp | |
spcomp -E -O2 -v2 -i "include" ff2r_epic_abilities.sp | |
spcomp -E -O2 -v2 -i "include" ff2r_menu_abilities.sp | |
working-directory: ${{ env.SCRIPTS_PATH }} |