Linux arm64: download releases through build.haxe.org #113
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: CI | |
on: push | |
jobs: | |
test-unix: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
env: | |
HAXE_STD_PATH: "${{ github.workspace }}/current/std" | |
steps: | |
- uses: actions/checkout@main | |
- name: Add to PATH | |
run: | | |
echo "${GITHUB_WORKSPACE}/bin" >> $GITHUB_PATH | |
- name: Install haxe-manager | |
run: | | |
./install.sh | |
haxe --version | |
- name: Check env | |
run: | | |
echo "PATH=${PATH}" | |
echo "GITHUB_PATH=${GITHUB_PATH}" | |
echo "HAXE_STD_PATH=${HAXE_STD_PATH}" | |
- name: Help messages | |
run: | | |
echo "hx --help" | |
hx --help | |
echo "" | |
echo "hx --help download" | |
hx --help download | |
echo "" | |
echo "hx --help select" | |
hx --help select | |
- name: Check base usage | |
run: | | |
echo "Download latest nightly" | |
hx download latest | |
echo "Download release" | |
hx download 4.3.4 | |
echo "Download short hash nightly" | |
hx download nightly 569e52e | |
echo "Download short hash nightly (already downloaded)" | |
hx download nightly 569e52e alias | |
echo "Check Haxe version" | |
haxe --version | |
echo "Switch to dev" | |
hx select dev | |
echo "Check Haxe version" | |
haxe --version | |
echo "Switch to 4.3.4" | |
hx 4.3.4 | |
echo "Check Haxe version" | |
haxe --version | |
echo "Switch to dev" | |
hx select dev | |
echo "Check Haxe version" | |
haxe --version | |
echo "Check hx current (normal, --name, --full)" | |
hx current | |
hx current --name | |
hx current --full | |
- name: Install extra tools | |
run: | | |
sh ./extra/install-all.sh | |
ls -Al bin/ | |
test-windows: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
env: | |
HAXE_STD_PATH: "${{ github.workspace }}/current/std" | |
steps: | |
- uses: actions/checkout@main | |
- name: Add to PATH | |
run: | | |
echo "${env:GITHUB_WORKSPACE}/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 | |
- name: Install haxe-manager | |
run: | | |
./install.bat | |
haxe --version | |
- name: Check env | |
run: | | |
echo "PATH=${env:PATH}" | |
echo "GITHUB_PATH=${env:GITHUB_PATH}" | |
echo "HAXE_STD_PATH=${env:HAXE_STD_PATH}" | |
- name: Help messages | |
run: | | |
echo "hx --help" | |
hx --help | |
echo "" | |
echo "hx --help download" | |
hx --help download | |
echo "" | |
echo "hx --help select" | |
hx --help select | |
- name: Check base usage | |
run: | | |
echo "Download latest nightly" | |
hx download latest | |
echo "Download release" | |
hx download 4.3.4 | |
echo "Download short hash nightly" | |
hx download nightly 569e52e | |
echo "Download short hash nightly (already downloaded)" | |
hx download nightly 569e52e alias | |
echo "Check Haxe version" | |
haxe --version | |
echo "Switch to dev" | |
hx select dev | |
echo "Check Haxe version" | |
haxe --version | |
echo "Switch to 4.3.4" | |
hx 4.3.4 | |
echo "Check Haxe version" | |
haxe --version | |
echo "Switch to dev" | |
hx select dev | |
echo "Check Haxe version" | |
haxe --version | |
echo "Check hx current" | |
hx current | |