mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-01-20 14:12:12 +00:00
modify ci to use artifact storage
This commit is contained in:
parent
af10499480
commit
516a18ce71
1 changed files with 23 additions and 5 deletions
|
|
@ -14,6 +14,10 @@ jobs:
|
|||
NPROC: 4
|
||||
COMMIT_TAG: pipeline.git.tag
|
||||
steps:
|
||||
- add_ssh_keys:
|
||||
fingerprints:
|
||||
- "82:42:56:a0:57:43:95:4e:00:c0:8c:c1:7f:70:74:47"
|
||||
|
||||
- checkout:
|
||||
path: ~/MBHaxe
|
||||
|
||||
|
|
@ -222,10 +226,15 @@ jobs:
|
|||
command: |
|
||||
cd ~/MBHaxe
|
||||
rm -rf "macos-dist/MarbleBlast Gold.app.in"
|
||||
zip -r MBHaxe-Gold.zip macos-dist/
|
||||
zip -r MBHaxe-Gold-Mac.zip macos-dist/
|
||||
|
||||
- store_artifacts:
|
||||
path: ~/MBHaxe/MBHaxe-Gold.zip
|
||||
- run:
|
||||
name: Upload to Artifact Storage
|
||||
command: |
|
||||
scp -o StrictHostKeyChecking=no -i $KEYPATH -P $PORT ~/MBHaxe/MBHaxe-Gold-Mac.zip $REMOTEDIR/MBHaxe-Gold-Mac.zip
|
||||
|
||||
# - store_artifacts:
|
||||
# path: ~/MBHaxe/MBHaxe-Gold.zip
|
||||
|
||||
build-win:
|
||||
executor:
|
||||
|
|
@ -237,6 +246,10 @@ jobs:
|
|||
# Then run your tests!
|
||||
# CircleCI will report the results back to your VCS provider.
|
||||
steps:
|
||||
- add_ssh_keys:
|
||||
fingerprints:
|
||||
- "82:42:56:a0:57:43:95:4e:00:c0:8c:c1:7f:70:74:47"
|
||||
|
||||
- checkout
|
||||
- run:
|
||||
name: Install dependencies
|
||||
|
|
@ -338,8 +351,13 @@ jobs:
|
|||
command: |
|
||||
cd ~/project
|
||||
7z a MBHaxe-Gold-Win.zip release/
|
||||
- store_artifacts:
|
||||
path: ~/project/MBHaxe-Gold-Win.zip
|
||||
|
||||
- run:
|
||||
name: Upload to Artifact Storage
|
||||
command: |
|
||||
scp -o StrictHostKeyChecking=no -i $KEYPATH -P $PORT ~/project/MBHaxe-Gold-Win.zip $REMOTEDIR/MBHaxe-Gold-Win.zip
|
||||
# - store_artifacts:
|
||||
# path: ~/project/MBHaxe-Gold-Win.zip
|
||||
|
||||
|
||||
# Invoke jobs via workflows
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue