Test Github Actions
This commit is contained in:
45
.github/workflows/main.yml
vendored
Normal file
45
.github/workflows/main.yml
vendored
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-16.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: Setup
|
||||||
|
run: |
|
||||||
|
sudo apt update,
|
||||||
|
sudo apt install -y haxe libgl1-mesa-dev libglu1-mesa-dev g++ g++-multilib gcc-multilib libasound2-dev libx11-dev libxext-dev libxi-dev libxrandr-dev libxinerama-dev,
|
||||||
|
haxelib install hxcpp,
|
||||||
|
git clone https://github.com/jgranick/format ~/format --depth 1,
|
||||||
|
haxelib dev format ~/format,
|
||||||
|
haxelib install mcover,
|
||||||
|
haxelib install hamcrest,
|
||||||
|
git clone https://github.com/openfl/munit ~/munit --depth 1,
|
||||||
|
haxelib dev munit ~/munit/src,
|
||||||
|
cd ~/munit/tool && haxe build.hxml,
|
||||||
|
apt install -y build-essential git curl python,
|
||||||
|
curl -O https://bootstrap.pypa.io/get-pip.py && python get-pip.py,
|
||||||
|
pip install awscli awsebcli,
|
||||||
|
|
||||||
|
- name: Install
|
||||||
|
run: |
|
||||||
|
haxelib dev lime .,
|
||||||
|
haxelib install format,
|
||||||
|
haxelib install hxp,
|
||||||
|
haxelib run lime setup -alias -y,
|
||||||
|
lime rebuild hxcpp linux -static
|
||||||
|
|
||||||
|
- name: Tools
|
||||||
|
run: lime rebuild tools -nocolor -verbose
|
||||||
|
|
||||||
|
- name: Binaries
|
||||||
|
run: |
|
||||||
|
lime rebuild linux -64 -release -verbose -nocolor,
|
||||||
|
lime rebuild linux -32 -release -verbose -nocolor,
|
||||||
|
lime rebuild android -release -verbose -nocolor,
|
||||||
|
lime rebuild hl -64 -release -verbose -nocolor
|
||||||
Reference in New Issue
Block a user