summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-10-15 20:54:25 +0200
committerGitHub <noreply@github.com>2020-10-15 20:54:25 +0200
commit4dce52e4cb0b5438ae22c3273ba5b1da12986dbe (patch)
treec736488429cecd05683c1054e6a54dfd2d925c2c
parentf55468ae950a8ed8030ce3e83b9e51dfb89e29ae (diff)
parentb8855ed732e0c9eb40f932e8739c08163fdb7dfc (diff)
Merge pull request #42422 from umarcor/upload-artifacts
CI: upload artifacts
-rw-r--r--.github/workflows/android_builds.yml6
-rw-r--r--.github/workflows/ios_builds.yml6
-rw-r--r--.github/workflows/javascript_builds.disabled6
-rw-r--r--.github/workflows/linux_builds.yml22
-rw-r--r--.github/workflows/macos_builds.yml12
-rw-r--r--.github/workflows/windows_builds.yml26
6 files changed, 60 insertions, 18 deletions
diff --git a/.github/workflows/android_builds.yml b/.github/workflows/android_builds.yml
index 14157e4386..4ae92e94f1 100644
--- a/.github/workflows/android_builds.yml
+++ b/.github/workflows/android_builds.yml
@@ -72,3 +72,9 @@ jobs:
run: |
scons -j2 verbose=yes warnings=all werror=yes platform=android target=release tools=no
ls -l bin/
+
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ${{ github.job }}
+ path: bin/*
+ retention-days: 14
diff --git a/.github/workflows/ios_builds.yml b/.github/workflows/ios_builds.yml
index a31ae6c918..7890922fab 100644
--- a/.github/workflows/ios_builds.yml
+++ b/.github/workflows/ios_builds.yml
@@ -49,3 +49,9 @@ jobs:
run: |
scons -j2 verbose=yes warnings=all werror=yes platform=iphone target=release tools=no
ls -l bin/
+
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ${{ github.job }}
+ path: bin/*
+ retention-days: 14
diff --git a/.github/workflows/javascript_builds.disabled b/.github/workflows/javascript_builds.disabled
index 3a0673b64d..9ad9ceddcc 100644
--- a/.github/workflows/javascript_builds.disabled
+++ b/.github/workflows/javascript_builds.disabled
@@ -76,3 +76,9 @@ jobs:
run: |
scons -j2 verbose=yes warnings=all werror=yes platform=javascript target=release tools=no use_closure_compiler=yes
ls -l bin/
+
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ${{ github.job }}
+ path: bin/*
+ retention-days: 14
diff --git a/.github/workflows/linux_builds.yml b/.github/workflows/linux_builds.yml
index 810ade8301..5a62fad572 100644
--- a/.github/workflows/linux_builds.yml
+++ b/.github/workflows/linux_builds.yml
@@ -7,7 +7,7 @@ env:
SCONS_CACHE_LIMIT: 4096
jobs:
- linux-editor:
+ linux-editor-mono:
runs-on: "ubuntu-20.04"
name: Editor w/ Mono (target=release_debug, tools=yes, tests=yes)
@@ -69,6 +69,12 @@ jobs:
run: |
./bin/godot.linuxbsd.opt.tools.64.mono --test
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ${{ github.job }}
+ path: bin/*
+ retention-days: 14
+
linux-editor-sanitizers:
runs-on: "ubuntu-20.04"
name: Editor with sanitizers (target=debug, tools=yes, tests=yes, use_asan=yes, use_ubsan=yes)
@@ -131,7 +137,13 @@ jobs:
run: |
./bin/godot.linuxbsd.tools.64s --test
- linux-template:
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ${{ github.job }}
+ path: bin/*
+ retention-days: 14
+
+ linux-template-mono:
runs-on: "ubuntu-20.04"
name: Template w/ Mono (target=release, tools=no)
@@ -186,3 +198,9 @@ jobs:
run: |
scons -j2 verbose=yes warnings=all werror=yes platform=linuxbsd target=release tools=no module_mono_enabled=yes mono_glue=no
ls -l bin/
+
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ${{ github.job }}
+ path: bin/*
+ retention-days: 14
diff --git a/.github/workflows/macos_builds.yml b/.github/workflows/macos_builds.yml
index f604456125..c053f224cb 100644
--- a/.github/workflows/macos_builds.yml
+++ b/.github/workflows/macos_builds.yml
@@ -57,6 +57,12 @@ jobs:
run: |
./bin/godot.osx.opt.tools.64 --test
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ${{ github.job }}
+ path: bin/*
+ retention-days: 14
+
macos-template:
runs-on: "macos-latest"
name: Template (target=release, tools=no)
@@ -99,3 +105,9 @@ jobs:
run: |
scons -j2 verbose=yes warnings=all werror=yes platform=osx target=release tools=no
ls -l bin/
+
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ${{ github.job }}
+ path: bin/*
+ retention-days: 14
diff --git a/.github/workflows/windows_builds.yml b/.github/workflows/windows_builds.yml
index b4195ea974..8c44e82d62 100644
--- a/.github/workflows/windows_builds.yml
+++ b/.github/workflows/windows_builds.yml
@@ -62,14 +62,11 @@ jobs:
run: |
./bin/godot.windows.opt.tools.64.exe --test
-# Build Product Upload (tested and working)
-# sorry this is disabled until github can give us some more space as we would hit our limit very quickly
-# tested this code and it works fine so just enable it to get them back
-# - name: publishing godot windows-editor
-# uses: actions/upload-artifact@v1
-# with:
-# name: windows-editor (x64)
-# path: bin/godot.windows.opt.tools.64.exe
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ${{ github.job }}
+ path: bin/*
+ retention-days: 14
windows-template:
runs-on: "windows-latest"
@@ -115,11 +112,8 @@ jobs:
scons -j2 verbose=yes warnings=all werror=yes platform=windows target=release tools=no
ls -l bin/
-# Build Product Upload (tested and working)
-# sorry this is disabled until github can give us some more space as we would hit our limit very quickly
-# tested this code and it works fine so just enable it to get them back
-# - name: publishing godot windows-template
-# uses: actions/upload-artifact@v1
-# with:
-# name: windows-template (x64)
-# path: bin/godot.windows.opt.64.exe
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ${{ github.job }}
+ path: bin/*
+ retention-days: 14