Skip to content

Commit

Permalink
Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Nov 8, 2023
1 parent 9248d64 commit 117bb6b
Show file tree
Hide file tree
Showing 6 changed files with 180 additions and 630 deletions.
41 changes: 0 additions & 41 deletions .circleci/config.yml

This file was deleted.

53 changes: 53 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: CI
on: [push, pull_request]

jobs:

package-haxelib:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v3

- uses: actions/upload-artifact@v3
with:
name: away3d-haxelib
path: |
./
!scripts/
!haxe-*-*/
!neko-*-*/
!.git/
if-no-files-found: error

docs:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v3

- uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.2.5

- name: Set HAXEPATH
run: |
echo "HAXEPATH=$HAXE_STD_PATH/.." >> $GITHUB_ENV
- name: Install Haxe dependencies
run: |
haxelib install lime --quiet
haxelib install openfl --quiet
haxelib install dox --quiet
haxelib dev away3d $GITHUB_WORKSPACE
- name: Build docs
working-directory: scripts
run: |
haxe docs.hxml
- uses: actions/upload-artifact@v3
with:
name: away3d-docs
path: docs
if-no-files-found: error
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/*.DS_Store
docs/xml
docs/pages
docs
scripts/xml
scripts/pages
Loading

0 comments on commit 117bb6b

Please sign in to comment.