fix this as well #30
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: Linux | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
Linux-Build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: krdlab/setup-haxe@master | |
with: | |
haxe-version: 4.3.2 | |
- name: Install Haxelib | |
run: | | |
haxelib setup ~/haxelib | |
haxelib install hxcpp 4.3.2 | |
- name: Version Tag | |
run: echo "${{github.run_id}}" > VERSION | |
- name: Compile CPPIA | |
run: | | |
cd project | |
haxe compile-cppia.hxml | |
cd ../ | |
- name: Compile Tools | |
run: | | |
cd tools/hxcpp | |
haxe compile-cpp.hxml | |
cd ../../ | |
- name: Create N File | |
run: | | |
cd tools/hxcpp | |
haxe compile.hxml | |
cd ../../ | |
- name: Move N File | |
run: | | |
mv hxcpp.n bin/Linux64/ | |
- name: Upload Build | |
uses: actions/upload-artifact@main | |
with: | |
name: Linux-Build | |
path: 'bin/Linux64' | |
Build-Download: | |
name: Build-Download | |
runs-on: ubuntu-latest | |
needs: Linux-Build | |
steps: | |
- name: Download Artifact | |
uses: actions/download-artifact@main | |
with: | |
name: Linux-Build |