Remove CircleCI config, cleanup
This commit is contained in:
@@ -1,146 +0,0 @@
|
|||||||
version: 2
|
|
||||||
jobs:
|
|
||||||
|
|
||||||
Setup (Haxe 3.4.x):
|
|
||||||
docker:
|
|
||||||
- image: openfl/openfl-tests-unit-3.4:0.0.2
|
|
||||||
working_directory: /workspace/lime
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run:
|
|
||||||
name: Update Git Submodules
|
|
||||||
command: git submodule update --init
|
|
||||||
- run:
|
|
||||||
name: Set Lime Development Directory
|
|
||||||
command: haxelib dev lime .
|
|
||||||
- run:
|
|
||||||
name: Clone HXP
|
|
||||||
command: git clone --single-branch --recursive https://github.com/openfl/hxp ../hxp --depth 1
|
|
||||||
- run:
|
|
||||||
name: Set HXP Development Directory
|
|
||||||
command: haxelib dev hxp ../hxp
|
|
||||||
- run:
|
|
||||||
name: Rebuild Lime Tools
|
|
||||||
command: haxelib run lime rebuild tools -nocffi
|
|
||||||
- run:
|
|
||||||
name: Clone Lime Samples
|
|
||||||
command: git clone --recursive https://github.com/openfl/lime-samples ../lime-samples --depth 1
|
|
||||||
- run:
|
|
||||||
name: Set Lime Samples Development Directory
|
|
||||||
command: haxelib dev lime-samples ../lime-samples
|
|
||||||
- persist_to_workspace:
|
|
||||||
root: /
|
|
||||||
paths:
|
|
||||||
- usr/local/lib/haxe/lib/*/.dev
|
|
||||||
- workspace
|
|
||||||
|
|
||||||
HTML5 (Haxe 3.4.x):
|
|
||||||
docker:
|
|
||||||
- image: openfl/openfl-tests-unit-3.4:0.0.2
|
|
||||||
steps:
|
|
||||||
- attach_workspace:
|
|
||||||
at: /
|
|
||||||
- run: haxelib run lime create HelloWorld
|
|
||||||
- run: haxelib run lime create SimpleAudio
|
|
||||||
- run: haxelib run lime create SimpleImage
|
|
||||||
- run: haxelib run lime build HelloWorld html5
|
|
||||||
- run: haxelib run lime build SimpleAudio html5
|
|
||||||
- run: haxelib run lime build SimpleImage html5
|
|
||||||
- run: haxelib run lime build HelloWorld html5 -Dcanvas
|
|
||||||
- run: haxelib run lime build SimpleAudio html5 -Dcanvas
|
|
||||||
- run: haxelib run lime build SimpleImage html5 -Dcanvas
|
|
||||||
- run: haxelib run lime build HelloWorld html5 -Ddom
|
|
||||||
- run: haxelib run lime build SimpleAudio html5 -Ddom
|
|
||||||
- run: haxelib run lime build SimpleImage html5 -Ddom
|
|
||||||
|
|
||||||
Neko (Haxe 3.4.x):
|
|
||||||
docker:
|
|
||||||
- image: openfl/openfl-tests-unit-3.4:0.0.2
|
|
||||||
steps:
|
|
||||||
- attach_workspace:
|
|
||||||
at: /
|
|
||||||
- run: haxelib run lime rebuild linux -release -64 -nocffi
|
|
||||||
- run: haxelib run lime create HelloWorld
|
|
||||||
- run: haxelib run lime create SimpleAudio
|
|
||||||
- run: haxelib run lime create SimpleImage
|
|
||||||
- run: haxelib run lime build HelloWorld neko
|
|
||||||
- run: haxelib run lime build SimpleAudio neko
|
|
||||||
- run: haxelib run lime build SimpleImage neko
|
|
||||||
- run: haxelib run lime build HelloWorld neko -Dcairo
|
|
||||||
- run: haxelib run lime build SimpleAudio neko -Dcairo
|
|
||||||
- run: haxelib run lime build SimpleImage neko -Dcairo
|
|
||||||
|
|
||||||
C++ (Haxe 3.4.x):
|
|
||||||
docker:
|
|
||||||
- image: openfl/openfl-tests-unit-3.4:0.0.2
|
|
||||||
steps:
|
|
||||||
- attach_workspace:
|
|
||||||
at: /
|
|
||||||
- run: haxelib run lime rebuild linux -release -64 -nocffi
|
|
||||||
- run: haxelib run lime create HelloWorld
|
|
||||||
- run: haxelib run lime create SimpleAudio
|
|
||||||
- run: haxelib run lime create SimpleImage
|
|
||||||
- run: haxelib run lime build HelloWorld linux
|
|
||||||
- run: haxelib run lime build SimpleAudio linux
|
|
||||||
- run: haxelib run lime build SimpleImage linux
|
|
||||||
|
|
||||||
Flash (Haxe 3.4.x):
|
|
||||||
docker:
|
|
||||||
- image: openfl/openfl-tests-unit-3.4:0.0.2
|
|
||||||
steps:
|
|
||||||
- attach_workspace:
|
|
||||||
at: /
|
|
||||||
- run: haxelib run lime create HelloWorld
|
|
||||||
- run: haxelib run lime create SimpleAudio
|
|
||||||
- run: haxelib run lime create SimpleImage
|
|
||||||
- run: haxelib run lime build HelloWorld flash
|
|
||||||
- run: haxelib run lime build SimpleAudio flash
|
|
||||||
- run: haxelib run lime build SimpleImage flash
|
|
||||||
|
|
||||||
Documentation (Haxe 3.4.x):
|
|
||||||
docker:
|
|
||||||
- image: openfl/openfl-tests-unit-3.4:0.0.5
|
|
||||||
working_directory: /workspace/lime/docs
|
|
||||||
steps:
|
|
||||||
- attach_workspace:
|
|
||||||
at: /
|
|
||||||
- run:
|
|
||||||
name: Clone Dox
|
|
||||||
command: git clone https://github.com/openfl/dox ~/dox --depth 1
|
|
||||||
- run:
|
|
||||||
name: Set Dox Development Directory
|
|
||||||
command: haxelib dev dox ~/dox
|
|
||||||
- run:
|
|
||||||
name: Generate Documentation
|
|
||||||
command: haxe build.hxml
|
|
||||||
- run:
|
|
||||||
name: Deploy
|
|
||||||
command: |
|
|
||||||
if [ "${CIRCLE_BRANCH}" == "develop" ]; then
|
|
||||||
aws s3 sync pages s3://api.lime.software --acl bucket-owner-full-control --acl public-read --size-only --delete --include="*" --cache-control max-age=864000
|
|
||||||
else
|
|
||||||
echo "Not on master (skipping step)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
workflows:
|
|
||||||
version: 2
|
|
||||||
|
|
||||||
Tests (Haxe 3.4.x):
|
|
||||||
jobs:
|
|
||||||
- Setup (Haxe 3.4.x)
|
|
||||||
- HTML5 (Haxe 3.4.x):
|
|
||||||
requires:
|
|
||||||
- Setup (Haxe 3.4.x)
|
|
||||||
- Neko (Haxe 3.4.x):
|
|
||||||
requires:
|
|
||||||
- Setup (Haxe 3.4.x)
|
|
||||||
- C++ (Haxe 3.4.x):
|
|
||||||
requires:
|
|
||||||
- Setup (Haxe 3.4.x)
|
|
||||||
- Flash (Haxe 3.4.x):
|
|
||||||
requires:
|
|
||||||
- Setup (Haxe 3.4.x)
|
|
||||||
- Documentation (Haxe 3.4.x):
|
|
||||||
requires:
|
|
||||||
- Setup (Haxe 3.4.x)
|
|
||||||
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@@ -532,7 +532,7 @@ jobs:
|
|||||||
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
|
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
|
||||||
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
|
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
|
||||||
color: "#00C07F"
|
color: "#00C07F"
|
||||||
message: "https://github.com/haxelime/lime/actions/runs/${{ github.run_id }}\nCI build succeeded."
|
message: "https://github.com/haxelime/lime/actions/runs/${{ github.run_id }}\nCI build succeeded"
|
||||||
|
|
||||||
- name: Notify Discord (failure)
|
- name: Notify Discord (failure)
|
||||||
uses: appleboy/discord-action@master
|
uses: appleboy/discord-action@master
|
||||||
@@ -541,18 +541,4 @@ jobs:
|
|||||||
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
|
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
|
||||||
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
|
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
|
||||||
color: "#FF6562"
|
color: "#FF6562"
|
||||||
message: "https://github.com/haxelime/lime/actions/runs/${{ github.run_id }}\nCI build failed."
|
message: "https://github.com/haxelime/lime/actions/runs/${{ github.run_id }}\nCI build failed"
|
||||||
|
|
||||||
test-notify-discord:
|
|
||||||
runs-on: ubuntu-16.04
|
|
||||||
if: always()
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Notify Discord
|
|
||||||
uses: appleboy/discord-action@master
|
|
||||||
if: github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name
|
|
||||||
with:
|
|
||||||
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
|
|
||||||
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
|
|
||||||
color: "#00C07F"
|
|
||||||
message: "https://github.com/haxelime/lime/actions/runs/${{ github.run_id }}\nCI build message test."
|
|
||||||
|
|||||||
Reference in New Issue
Block a user