Skip to content

Commit

Permalink
action
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Jun 19, 2021
1 parent a75d4b4 commit 09a9e21
Show file tree
Hide file tree
Showing 8 changed files with 285 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: [ianharrigan]
patreon: haxeui
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!--- Provide a general summary of the issue in the Title above -->

## Expected Behavior
<!--- If you're describing a bug, tell us what should happen -->
<!--- If you're suggesting a change/improvement, tell us how it should work -->

## Current Behavior
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
<!--- If suggesting a change/improvement, explain the difference from current behavior -->

## Possible Solution
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
<!--- or ideas how to implement the addition or change -->

## Steps to Reproduce (for bugs)
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
1.
2.
3.
4.

## Media
<!--- Any screen shots or other media pertaining to the issue -->

## Test app / minimal test case
<!--- Small piece of code to reproduce the issue -->
<!--- Eventually a BDD functional test possibly -->

## Context
<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

## Your Environment
<!--- Include as many relevant details about the environment you experienced the bug in -->
* Version used:
* Environment name and version (e.g. Chrome 39, node.js 5.4):
* Operating System and version (desktop or mobile):
* Link to your project:
52 changes: 52 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Build

on: [push, repository_dispatch]

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
haxe-version: [3.4.7, 4.0.5, 4.1.5, 4.2.2]
target: [html5, linux, windows, mac]
exclude:
- os: windows-latest
haxe-version: 3.4.7
- os: ubuntu-latest
target: windows
- os: ubuntu-latest
target: mac
- os: windows-latest
target: linux
- os: windows-latest
target: mac
- os: macos-latest
target: linux
- os: macos-latest
target: windows


steps:
- uses: actions/checkout@v1
- name: Setup Haxe (${{ matrix.target }}, haxe ${{ matrix.haxe-version }}, ${{ matrix.os }})
uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{ matrix.haxe-version }}

- name: Setup app (${{ matrix.target }}, haxe ${{ matrix.haxe-version }}, ${{ matrix.os }})
run: |
git clone --branch master https://github.com/haxeui/haxeui-core.git --depth=1
haxelib dev haxeui-core haxeui-core
haxelib dev haxeui-openfl .
haxelib install hxcpp --always --quiet
haxelib install hscript --always --quiet
haxelib install actuate --always --quiet
haxelib install openfl --always --quiet
echo "y" | haxelib run openfl setup
- name: Build app (${{ matrix.target }}, haxe ${{ matrix.haxe-version }}, ${{ matrix.os }})
run: |
cd .github/workflows/project
haxelib run openfl build ${{ matrix.target }}
20 changes: 20 additions & 0 deletions .github/workflows/project/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<project>
<meta title="Main" package="" version="1.0.0" company="" />
<app main="Main" file="Main" path="build/openfl" />

<window background="#FFFFFF" fps="60" />
<window width="800" height="600" if="desktop" />
<window width="0" height="0" if="html5" />

<!-- classpath, haxe libs -->
<source path="src" />

<haxelib name="openfl" />
<haxelib name="actuate" />

<haxelib name="haxeui-core" />
<haxelib name="haxeui-openfl" />

<haxeflag name="--macro" value="haxe.macro.Compiler.include('haxe.ui', ['haxe.ui.macros'])" />
</project>
7 changes: 7 additions & 0 deletions .github/workflows/project/src/Main.hx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package;

class Main {
public static function main() {

}
}
166 changes: 165 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,165 @@
export/*
#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.vspscc
.builds
*.dotCover

## TODO: If you have NuGet Package Restore enabled, uncomment this
#packages/

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf

# Visual Studio profiler
*.psess
*.vsp

# ReSharper is a .NET coding add-in
_ReSharper*

# Installshield output folder
[Ee]xpress

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish

# Others
[Bb]in
[Oo]bj
sql
TestResults
*.Cache
ClientBin
stylecop.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML



############
## Windows
############

# Windows image file caches
Thumbs.db

# Folder config file
Desktop.ini


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg

# Mac crap
.DS_Store


*.backup
dox.xml
7 changes: 0 additions & 7 deletions CONTRIBUTING.md

This file was deleted.

4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<p align="center">
<img src="http://haxeui.org/db/haxeui2-warning.png"/>
</p>

# haxeui-flixel
`haxeui-flixel` is the `Flixel` backend for `HaxeUI`.

Expand Down

0 comments on commit 09a9e21

Please sign in to comment.