Skip to content

Commit 4610f93

Browse files
committed
Initial commit
0 parents  commit 4610f93

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+3688
-0
lines changed

.github/workflows/api.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: API Reference
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: krdlab/setup-haxe@v1
18+
with:
19+
haxe-version: 4.2.5
20+
- name: Set up Haxelib dependencies
21+
run: |
22+
haxelib install lime --quiet
23+
haxelib install openfl --quiet
24+
haxelib install feathersui --quiet
25+
haxelib install dox --quiet
26+
haxelib dev feathersui-validators $GITHUB_WORKSPACE
27+
- name: Build API reference
28+
working-directory: docs
29+
run: haxe docs.hxml
30+
- uses: actions/upload-artifact@v2
31+
with:
32+
name: feathersui-validators
33+
path: bin/api/
34+
if-no-files-found: error
35+
- name: Deploy to unstable
36+
if: ${{ github.event_name != 'pull_request' }}
37+
uses: garygrossgarten/github-action-scp@release
38+
with:
39+
local: bin/api
40+
remote: api.feathersui.com/validators/unstable
41+
host: ${{ secrets.SSH_HOST }}
42+
username: ${{ secrets.SSH_USER }}
43+
password: ${{ secrets.SSH_PASS }}

.github/workflows/flash.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Flash
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: krdlab/setup-haxe@v1
18+
with:
19+
haxe-version: 4.2.5
20+
- name: Set up Haxelib dependencies
21+
run: |
22+
haxelib install lime --quiet
23+
haxelib install openfl --quiet
24+
haxelib install feathersui --quiet
25+
haxelib dev feathersui-validators $GITHUB_WORKSPACE
26+
- name: Build Flash .swc library
27+
run: haxelib run openfl build flash -debug

.github/workflows/haxelib.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Haxelib
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions/upload-artifact@v2
18+
with:
19+
name: feathersui-validators-haxelib
20+
path: |
21+
src/
22+
haxelib.json
23+
README.md
24+
LICENSE
25+
NOTICE
26+
CHANGELOG.md
27+
if-no-files-found: error

.github/workflows/tests.yml

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
test-html5:
13+
strategy:
14+
matrix:
15+
haxe-version: [4.0.5]
16+
runs-on: macos-latest
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: krdlab/setup-haxe@v1
20+
with:
21+
haxe-version: ${{ matrix.haxe-version }}
22+
- uses: actions/setup-node@v2
23+
with:
24+
node-version: "16"
25+
- name: Set up Haxelib dependencies
26+
run: |
27+
haxelib install lime --quiet
28+
haxelib install openfl --quiet
29+
haxelib install feathersui --quiet
30+
haxelib install utest --quiet
31+
haxelib dev feathersui-validators $GITHUB_WORKSPACE
32+
- name: Set up Node.js dependencies
33+
working-directory: test
34+
run: |
35+
npm ci
36+
- name: Run Tests
37+
working-directory: test
38+
run: |
39+
haxelib run openfl build html5 -final -Dplaywright
40+
node playwright-runner.js
41+
test-neko:
42+
strategy:
43+
matrix:
44+
haxe-version: [4.0.5]
45+
runs-on: ubuntu-latest
46+
steps:
47+
- uses: actions/checkout@v2
48+
- uses: krdlab/setup-haxe@v1
49+
with:
50+
haxe-version: ${{ matrix.haxe-version }}
51+
- name: Set up Haxelib dependencies
52+
run: |
53+
haxelib install lime --quiet
54+
haxelib install openfl --quiet
55+
haxelib install feathersui --quiet
56+
haxelib install utest --quiet
57+
haxelib dev feathersui-validators $GITHUB_WORKSPACE
58+
- name: Run Tests
59+
working-directory: test
60+
run: haxelib run openfl test neko
61+
test-hashlink:
62+
strategy:
63+
matrix:
64+
haxe-version: [4.0.5]
65+
runs-on: macos-latest
66+
steps:
67+
- uses: actions/checkout@v2
68+
- uses: krdlab/setup-haxe@v1
69+
with:
70+
haxe-version: ${{ matrix.haxe-version }}
71+
- name: Set up Haxelib dependencies
72+
run: |
73+
haxelib install lime --quiet
74+
haxelib install openfl --quiet
75+
haxelib install feathersui --quiet
76+
haxelib install utest --quiet
77+
haxelib dev feathersui-validators $GITHUB_WORKSPACE
78+
- name: Run Tests
79+
working-directory: test
80+
run: haxelib run openfl test hl
81+
test-air:
82+
strategy:
83+
matrix:
84+
haxe-version: [4.0.5]
85+
runs-on: windows-latest
86+
steps:
87+
- uses: actions/checkout@v2
88+
- uses: joshtynjala/setup-adobe-air-action@v1
89+
- uses: krdlab/setup-haxe@v1
90+
with:
91+
haxe-version: ${{ matrix.haxe-version }}
92+
- name: Set up Haxelib dependencies
93+
run: |
94+
haxelib install lime --quiet
95+
haxelib install openfl --quiet
96+
haxelib install feathersui --quiet
97+
haxelib install utest --quiet
98+
haxelib dev feathersui-validators ${{ github.workspace }}
99+
haxelib run lime config AIR_SDK ${{ env.AIR_HOME }}
100+
- name: Run Tests
101+
working-directory: test
102+
run: haxelib run openfl test air

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.vscode/
2+
bin/
3+
.DS_Store
4+
target/
5+
.project
6+
.settings/
7+
.classpath
8+
node_modules/

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# feathersui-validators Change Log
2+
3+
## 1.0.0-alpha.1 (????-??-??)
4+
5+
- Initial release

0 commit comments

Comments
 (0)