-
Notifications
You must be signed in to change notification settings - Fork 5
54 lines (44 loc) · 1.94 KB
/
image_windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# This workflow creates Godot 3.x with added third party modules
name: Image Windows
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on: [workflow_dispatch]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container:
# See how this image is built at https://github.com/Flux159/godot-docker
image: flux159/godot:1.0.0
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
with:
repository: lawnjelly/godot
ref: titan
# get javascript module
- uses: actions/checkout@v2
with:
repository: GodotExplorer/ECMAScript
path: modules/ECMAScript/
- name: Show folders before
run: pwd && whoami && ls -R && ls misc
- name: Prepare ming
run: |
update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix
update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix
update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix
# We should always be explicit with our flags usage here since it's gonna be sure to always set those flags
- name: Compilation
run: |
scons -j8 verbose=no warnings=moderate werror=no platform=windows bits=64 tools=yes tests=no target=release_debug
- name: Show folders after
run: pwd && whoami && ls -R
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
with:
name: godot-titan-windows-editor (x64)
path: bin/godot.windows.opt.tools.64.exe